PreviewingGo to this paletteOpen in generator
Code
/* Peony Morning Tray — colorset.net */
:root {
--color-1: #FAF0F2;
--color-2: #E27396;
--color-3: #EFCFE3;
--color-4: #B3DEE2;
--color-5: #4A3B47;
--color-bg: #FAF0F2;
--color-surface: #FFF8FA;
--color-border: #E4D6D9;
--color-text: #4A3B47;
--color-muted: #7A6976;
--color-primary: #D4678A;
--color-on-primary: #000000;
--color-accent: #699296;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130E12;
--color-surface: #1D181C;
--color-border: #332B31;
--color-text: #FAF0F2;
--color-muted: #8F8788;
--color-primary: #E27396;
--color-on-primary: #130E12;
--color-accent: #B3DEE2;
--color-on-accent: #130E12;
}
}
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 #4A3B47 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E27396 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E27396 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.37:1 | AAA pass 4.5:1 | |
| Text on surface | 9.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.58:1 | AA pass 4.5:1 | |
| Label on primary | 6.11:1 | AA pass 4.5:1 | |
| Label on accent | 6.15:1 | AA pass 4.5:1 | |
| Primary on background | 3.08:1 | AA Large pass 3:1 | |
| Accent on background | 3.06:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.11:1 | AAA pass 4.5:1 | |
| Text on surface | 15.68:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.45:1 | AA pass 4.5:1 | |
| Label on primary | 6.48:1 | AA pass 4.5:1 | |
| Label on accent | 13.16:1 | AAA pass 4.5:1 | |
| Primary on background | 6.48:1 | AA pass 3:1 | |
| Accent on background | 13.16: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 | #FAF0F2 (Text 1) | #E27396 (Text 2) | #EFCFE3 (Text 3) | #B3DEE2 (Text 4) | #4A3B47 (Text 5) |
|---|---|---|---|---|---|
| #FAF0F2 | Same color | 2.64— | 1.28— | 1.30— | 9.37AAA |
| #E27396 | 2.64— | Same color | 2.06— | 2.03— | 3.55AA Large |
| #EFCFE3 | 1.28— | 2.06— | Same color | 1.02— | 7.32AAA |
| #B3DEE2 | 1.30— | 2.03— | 1.02— | Same color | 7.20AAA |
| #4A3B47 | 9.37AAA | 3.55AA Large | 7.32AAA | 7.20AAA | Same color |
Shades
Shades and tints (50–950)
