PreviewingGo to this paletteOpen in generator
Code
/* Crimson Wine — colorset.net */
:root {
--color-1: #4D0011;
--color-2: #660022;
--color-3: #800020;
--color-4: #A52A2A;
--color-5: #B22222;
--color-bg: #FFF4F2;
--color-surface: #FBE9E6;
--color-border: #E5CFCC;
--color-text: #480B15;
--color-muted: #836464;
--color-primary: #B22222;
--color-on-primary: #FFFFFF;
--color-accent: #660022;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080A;
--color-surface: #271213;
--color-border: #402526;
--color-text: #C49B96;
--color-muted: #9B7B77;
--color-primary: #BD2E2B;
--color-on-primary: #FFFFFF;
--color-accent: #9C4C51;
--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 #4D0011 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4D0011 | 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 #A52A2A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.60:1 | AAA pass 4.5:1 | |
| Text on surface | 13.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 6.68:1 | AA pass 4.5:1 | |
| Label on accent | 13.22:1 | AAA pass 4.5:1 | |
| Primary on background | 6.19:1 | AA pass 3:1 | |
| Accent on background | 12.26:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.85:1 | AA pass 4.5:1 | |
| Label on accent | 5.89:1 | AA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.28: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 | #4D0011 (Text 1) | #660022 (Text 2) | #800020 (Text 3) | #A52A2A (Text 4) | #B22222 (Text 5) |
|---|---|---|---|---|---|
| #4D0011 | Same color | 1.20— | 1.46— | 2.24— | 2.38— |
| #660022 | 1.20— | Same color | 1.22— | 1.87— | 1.98— |
| #800020 | 1.46— | 1.22— | Same color | 1.53— | 1.62— |
| #A52A2A | 2.24— | 1.87— | 1.53— | Same color | 1.06— |
| #B22222 | 2.38— | 1.98— | 1.62— | 1.06— | Same color |
Shades
Shades and tints (50–950)
