PreviewingGo to this paletteOpen in generator
Code
/* Black Cherry — colorset.net */
:root {
--color-1: #330000;
--color-2: #4D0A0A;
--color-3: #661414;
--color-4: #801E1E;
--color-5: #992828;
--color-bg: #FFF4F3;
--color-surface: #FBE9E7;
--color-border: #E5CFCD;
--color-text: #330000;
--color-muted: #80625D;
--color-primary: #992828;
--color-on-primary: #FFFFFF;
--color-accent: #4D0A0A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #271310;
--color-border: #3F2623;
--color-text: #C49B97;
--color-muted: #9B7B78;
--color-primary: #B13F3C;
--color-on-primary: #FFFFFF;
--color-accent: #93564D;
--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 #992828 | adjusted for contrast · from #330000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #992828 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #992828 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #992828 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.08:1 | AAA pass 4.5:1 | |
| Text on surface | 15.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 7.81:1 | AAA pass 4.5:1 | |
| Label on accent | 15.40:1 | AAA pass 4.5:1 | |
| Primary on background | 7.25:1 | AAA pass 3:1 | |
| Accent on background | 14.29:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 5.76:1 | AA pass 4.5:1 | |
| Label on accent | 5.71:1 | AA pass 4.5:1 | |
| Primary on background | 3.34:1 | AA Large pass 3:1 | |
| Accent on background | 3.37: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 | #330000 (Text 1) | #4D0A0A (Text 2) | #661414 (Text 3) | #801E1E (Text 4) | #992828 (Text 5) |
|---|---|---|---|---|---|
| #330000 | Same color | 1.20— | 1.47— | 1.86— | 2.36— |
| #4D0A0A | 1.20— | Same color | 1.23— | 1.56— | 1.97— |
| #661414 | 1.47— | 1.23— | Same color | 1.27— | 1.61— |
| #801E1E | 1.86— | 1.56— | 1.27— | Same color | 1.27— |
| #992828 | 2.36— | 1.97— | 1.61— | 1.27— | Same color |
Shades
Shades and tints (50–950)
