PreviewingGo to this paletteOpen in generator
Code
/* Dark Bordeaux — colorset.net */
:root {
--color-1: #4D0000;
--color-2: #660000;
--color-3: #800020;
--color-4: #8B0000;
--color-5: #B22222;
--color-bg: #FFF4F2;
--color-surface: #FBE9E6;
--color-border: #E5CFCC;
--color-text: #470C07;
--color-muted: #82645F;
--color-primary: #B22222;
--color-on-primary: #FFFFFF;
--color-accent: #660000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #C49B96;
--color-muted: #9B7B77;
--color-primary: #BD2E2B;
--color-on-primary: #FFFFFF;
--color-accent: #9F4F44;
--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 #B22222 | adjusted for contrast · from #4D0000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4D0000 | adjusted for contrast · from #B22222 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #B22222 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #B22222 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.71:1 | AAA pass 4.5:1 | |
| Text on surface | 13.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.68:1 | AA pass 4.5:1 | |
| Label on accent | 13.42:1 | AAA pass 4.5:1 | |
| Primary on background | 6.19:1 | AA pass 3:1 | |
| Accent on background | 12.44: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.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.85:1 | AA pass 4.5:1 | |
| Label on accent | 5.71:1 | AA pass 4.5:1 | |
| Primary on background | 3.29: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 | #4D0000 (Text 1) | #660000 (Text 2) | #800020 (Text 3) | #8B0000 (Text 4) | #B22222 (Text 5) |
|---|---|---|---|---|---|
| #4D0000 | Same color | 1.19— | 1.47— | 1.59— | 2.39— |
| #660000 | 1.19— | Same color | 1.24— | 1.34— | 2.01— |
| #800020 | 1.47— | 1.24— | Same color | 1.08— | 1.62— |
| #8B0000 | 1.59— | 1.34— | 1.08— | Same color | 1.50— |
| #B22222 | 2.39— | 2.01— | 1.62— | 1.50— | Same color |
Shades
Shades and tints (50–950)
