PreviewingGo to this paletteOpen in generator
Code
/* Coral Peony — colorset.net */
:root {
--color-1: #FF7F50;
--color-2: #FF9570;
--color-3: #FFAB90;
--color-4: #FFC1B0;
--color-5: #FFD7D0;
--color-bg: #FFF4F2;
--color-surface: #F7EAE8;
--color-border: #E1D1CE;
--color-text: #7A3E28;
--color-muted: #81655B;
--color-primary: #CA4F1B;
--color-on-primary: #FFFFFF;
--color-accent: #A48079;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0A04;
--color-surface: #27140D;
--color-border: #3F271E;
--color-text: #FFD7D0;
--color-muted: #9A7B75;
--color-primary: #FF7F50;
--color-on-primary: #1C0A04;
--color-accent: #FFC1B0;
--color-on-accent: #1C0A04;
}
}
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 | adjusted for contrast · from #FFD7D0 | adjusted for contrast · from #FF7F50 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF7F50 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF7F50 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF7F50 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 5.94:1 | AA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.51:1 | AAA pass 4.5:1 | |
| Text on surface | 13.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 7.68:1 | AAA pass 4.5:1 | |
| Label on accent | 12.34:1 | AAA pass 4.5:1 | |
| Primary on background | 7.68:1 | AAA pass 3:1 | |
| Accent on background | 12.34: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 | #FF7F50 (Text 1) | #FF9570 (Text 2) | #FFAB90 (Text 3) | #FFC1B0 (Text 4) | #FFD7D0 (Text 5) |
|---|---|---|---|---|---|
| #FF7F50 | Same color | 1.16— | 1.37— | 1.61— | 1.89— |
| #FF9570 | 1.16— | Same color | 1.17— | 1.38— | 1.62— |
| #FFAB90 | 1.37— | 1.17— | Same color | 1.18— | 1.38— |
| #FFC1B0 | 1.61— | 1.38— | 1.18— | Same color | 1.18— |
| #FFD7D0 | 1.89— | 1.62— | 1.38— | 1.18— | Same color |
Shades
Shades and tints (50–950)
