PreviewingGo to this paletteOpen in generator
Code
/* Cherry Soda — colorset.net */
:root {
--color-1: #FFE9EE;
--color-2: #E0457B;
--color-3: #8A7CF0;
--color-4: #FAC4D2;
--color-5: #2D1626;
--color-bg: #FFE9EE;
--color-surface: #FFF3F6;
--color-border: #E9CFD5;
--color-text: #2D1626;
--color-muted: #7C6373;
--color-primary: #D2376F;
--color-on-primary: #FFFFFF;
--color-accent: #7666D8;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2D1626;
--color-surface: #392131;
--color-border: #4E3746;
--color-text: #FFE9EE;
--color-muted: #9E8A8F;
--color-primary: #D2376F;
--color-on-primary: #FFFFFF;
--color-accent: #8A7CF0;
--color-on-accent: #2D1626;
}
}
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 | adjusted for contrast · from #E0457B | adjusted for contrast · from #E0457B |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8A7CF0 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.46:1 | AAA pass 4.5:1 | |
| Text on surface | 15.47:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.66:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 4.50:1 | AA pass 4.5:1 | |
| Primary on background | 4.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.89:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.46:1 | AAA pass 4.5:1 | |
| Text on surface | 12.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.17:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 4.96:1 | AA pass 4.5:1 | |
| Primary on background | 3.60:1 | AA Large pass 3:1 | |
| Accent on background | 4.96:1 | AA 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 | #FFE9EE (Text 1) | #E0457B (Text 2) | #8A7CF0 (Text 3) | #FAC4D2 (Text 4) | #2D1626 (Text 5) |
|---|---|---|---|---|---|
| #FFE9EE | Same color | 3.42AA Large | 2.92— | 1.31— | 14.46AAA |
| #E0457B | 3.42AA Large | Same color | 1.17— | 2.62— | 4.23AA Large |
| #8A7CF0 | 2.92— | 1.17— | Same color | 2.23— | 4.96AA |
| #FAC4D2 | 1.31— | 2.62— | 2.23— | Same color | 11.07AAA |
| #2D1626 | 14.46AAA | 4.23AA Large | 4.96AA | 11.07AAA | Same color |
Shades
Shades and tints (50–950)
