PreviewingGo to this paletteOpen in generator
Code
/* Deep Red — colorset.net */
:root {
--color-1: #8B0000;
--color-2: #A01010;
--color-3: #B52020;
--color-4: #CA3030;
--color-5: #DF4040;
--color-bg: #FFF4F3;
--color-surface: #FBE9E7;
--color-border: #E5CFCD;
--color-text: #70322A;
--color-muted: #82645F;
--color-primary: #D8393A;
--color-on-primary: #FFFFFF;
--color-accent: #8B0000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #C49B97;
--color-muted: #9B7B78;
--color-primary: #D8393A;
--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 #DF4040 | adjusted for contrast · from #8B0000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B0000 | adjusted for contrast · from #DF4040 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DF4040 | adjusted for contrast · from #DF4040 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #B52020 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.94:1 | AAA pass 4.5:1 | |
| Text on surface | 8.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 10.01:1 | AAA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 9.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.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 4.18: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) | #A01010 (Text 2) | #B52020 (Text 3) | #CA3030 (Text 4) | #DF4040 (Text 5) |
|---|---|---|---|---|---|
| #8B0000 | Same color | 1.23— | 1.52— | 1.90— | 2.36— |
| #A01010 | 1.23— | Same color | 1.24— | 1.54— | 1.92— |
| #B52020 | 1.52— | 1.24— | Same color | 1.25— | 1.55— |
| #CA3030 | 1.90— | 1.54— | 1.25— | Same color | 1.24— |
| #DF4040 | 2.36— | 1.92— | 1.55— | 1.24— | Same color |
Shades
Shades and tints (50–950)
