PreviewingGo to this paletteOpen in generator
Code
/* Peony Petal — colorset.net */
:root {
--color-1: #FFE4E6;
--color-2: #FFCDD2;
--color-3: #FFC1CC;
--color-4: #FFB3BA;
--color-5: #FFA7C4;
--color-bg: #FFE4E6;
--color-surface: #FFEEEF;
--color-border: #E9CACD;
--color-text: #773950;
--color-muted: #7F616A;
--color-primary: #AB5B77;
--color-on-primary: #FFFFFF;
--color-accent: #988081;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B080F;
--color-surface: #261219;
--color-border: #3E252D;
--color-text: #FFE4E6;
--color-muted: #967E80;
--color-primary: #FFA7C4;
--color-on-primary: #1B080F;
--color-accent: #FFCDD2;
--color-on-accent: #1B080F;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | from palette · color 1 | adjusted for contrast · from #FFA7C4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFA7C4 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFA7C4 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFA7C4 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.04:1 | AAA pass 4.5:1 | |
| Text on surface | 7.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.58:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 3.89:1 | AA Large pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.07:1 | AAA pass 4.5:1 | |
| Text on surface | 14.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.14:1 | AA pass 4.5:1 | |
| Label on primary | 10.64:1 | AAA pass 4.5:1 | |
| Label on accent | 13.71:1 | AAA pass 4.5:1 | |
| Primary on background | 10.64:1 | AAA pass 3:1 | |
| Accent on background | 13.71:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #FFE4E6 (Text 1) | #FFCDD2 (Text 2) | #FFC1CC (Text 3) | #FFB3BA (Text 4) | #FFA7C4 (Text 5) |
|---|---|---|---|---|---|
| #FFE4E6 | Same color | 1.17— | 1.27— | 1.41— | 1.51— |
| #FFCDD2 | 1.17— | Same color | 1.08— | 1.20— | 1.29— |
| #FFC1CC | 1.27— | 1.08— | Same color | 1.11— | 1.19— |
| #FFB3BA | 1.41— | 1.20— | 1.11— | Same color | 1.07— |
| #FFA7C4 | 1.51— | 1.29— | 1.19— | 1.07— | Same color |
Shades
Shades and tints (50–950)
