PreviewingGo to this paletteOpen in generator
Code
/* Black Cherry Cola — colorset.net */
:root {
--color-1: #130407;
--color-2: #280B11;
--color-3: #48141E;
--color-4: #BC3F53;
--color-5: #E3CBC3;
--color-bg: #FCF5F2;
--color-surface: #F3ECE9;
--color-border: #DDD2CE;
--color-text: #130407;
--color-muted: #71595E;
--color-primary: #BC3F53;
--color-on-primary: #FFFFFF;
--color-accent: #280B11;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130407;
--color-surface: #1E0C10;
--color-border: #351E23;
--color-text: #E3CBC3;
--color-muted: #8F7A72;
--color-primary: #BC3F53;
--color-on-primary: #FFFFFF;
--color-accent: #735C60;
--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 #E3CBC3 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #BC3F53 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.59:1 | AAA pass 4.5:1 | |
| Text on surface | 17.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.92:1 | AA pass 4.5:1 | |
| Label on primary | 5.28:1 | AA pass 4.5:1 | |
| Label on accent | 18.32:1 | AAA pass 4.5:1 | |
| Primary on background | 4.90:1 | AA pass 3:1 | |
| Accent on background | 17.00:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.97:1 | AAA pass 4.5:1 | |
| Text on surface | 12.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.28:1 | AA pass 4.5:1 | |
| Label on accent | 6.12:1 | AA pass 4.5:1 | |
| Primary on background | 3.79:1 | AA Large pass 3:1 | |
| Accent on background | 3.27: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 | #130407 (Text 1) | #280B11 (Text 2) | #48141E (Text 3) | #BC3F53 (Text 4) | #E3CBC3 (Text 5) |
|---|---|---|---|---|---|
| #130407 | Same color | 1.09— | 1.33— | 3.79AA Large | 12.97AAA |
| #280B11 | 1.09— | Same color | 1.22— | 3.47AA Large | 11.86AAA |
| #48141E | 1.33— | 1.22— | Same color | 2.85— | 9.75AAA |
| #BC3F53 | 3.79AA Large | 3.47AA Large | 2.85— | Same color | 3.42AA Large |
| #E3CBC3 | 12.97AAA | 11.86AAA | 9.75AAA | 3.42AA Large | Same color |
Shades
Shades and tints (50–950)
