PreviewingGo to this paletteOpen in generator
Code
/* Peony Glow — colorset.net */
:root {
--color-1: #FFF6F8;
--color-2: #CA3A80;
--color-3: #F9B9A3;
--color-4: #E496B4;
--color-5: #291E23;
--color-bg: #FFF6F8;
--color-surface: #F6EDEF;
--color-border: #E0D3D6;
--color-text: #291E23;
--color-muted: #77696F;
--color-primary: #CA3A80;
--color-on-primary: #FFFFFF;
--color-accent: #B77B67;
--color-on-accent: #291E23;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #291E23;
--color-surface: #34292E;
--color-border: #4D3D44;
--color-text: #FFF6F8;
--color-muted: #9C9496;
--color-primary: #CE3E83;
--color-on-primary: #FFFFFF;
--color-accent: #F9B9A3;
--color-on-accent: #291E23;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #CA3A80 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E496B4 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.17:1 | AAA pass 4.5:1 | |
| Text on surface | 14.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 4.74:1 | AA pass 4.5:1 | |
| Label on accent | 4.63:1 | AA pass 4.5:1 | |
| Primary on background | 4.47:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.17:1 | AAA pass 4.5:1 | |
| Text on surface | 13.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.44:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 9.58:1 | AAA pass 4.5:1 | |
| Primary on background | 3.56:1 | AA Large pass 3:1 | |
| Accent on background | 9.58: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 | #FFF6F8 (Text 1) | #CA3A80 (Text 2) | #F9B9A3 (Text 3) | #E496B4 (Text 4) | #291E23 (Text 5) |
|---|---|---|---|---|---|
| #FFF6F8 | Same color | 4.47AA Large | 1.58— | 2.12— | 15.17AAA |
| #CA3A80 | 4.47AA Large | Same color | 2.82— | 2.10— | 3.40AA Large |
| #F9B9A3 | 1.58— | 2.82— | Same color | 1.34— | 9.58AAA |
| #E496B4 | 2.12— | 2.10— | 1.34— | Same color | 7.15AAA |
| #291E23 | 15.17AAA | 3.40AA Large | 9.58AAA | 7.15AAA | Same color |
Shades
Shades and tints (50–950)
