PreviewingGo to this paletteOpen in generator
Code
/* Cherry Cordial — colorset.net */
:root {
--color-1: #8B0000;
--color-2: #B22222;
--color-3: #DC143C;
--color-4: #FF6347;
--color-5: #FFB6C1;
--color-bg: #FFF4F5;
--color-surface: #FAE8EB;
--color-border: #E5CFD1;
--color-text: #70322A;
--color-muted: #82645F;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #A5646F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #EBC0C6;
--color-muted: #9A7A7F;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #B73A2D;
--color-on-accent: #FFFFFF;
}
}
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 #FFB6C1 | adjusted for contrast · from #8B0000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B0000 | adjusted for contrast · from #FFB6C1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B22222 | adjusted for contrast · from #B22222 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.96:1 | AAA pass 4.5:1 | |
| Text on surface | 8.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 4.64:1 | AA pass 3:1 | |
| Accent on background | 4.19:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.81:1 | AAA pass 4.5:1 | |
| Text on surface | 10.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 3.86:1 | AA Large pass 3:1 | |
| Accent on background | 3.35:1 | AA Large 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 | #8B0000 (Text 1) | #B22222 (Text 2) | #DC143C (Text 3) | #FF6347 (Text 4) | #FFB6C1 (Text 5) |
|---|---|---|---|---|---|
| #8B0000 | Same color | 1.50— | 2.01— | 3.40AA Large | 6.06AA |
| #B22222 | 1.50— | Same color | 1.34— | 2.27— | 4.04AA Large |
| #DC143C | 2.01— | 1.34— | Same color | 1.69— | 3.02AA Large |
| #FF6347 | 3.40AA Large | 2.27— | 1.69— | Same color | 1.78— |
| #FFB6C1 | 6.06AA | 4.04AA Large | 3.02AA Large | 1.78— | Same color |
Shades
Shades and tints (50–950)
