PreviewingGo to this paletteOpen in generator
Code
/* Crimson Edit — colorset.net */
:root {
--color-1: #FAF3F3;
--color-2: #BE222A;
--color-3: #3B5876;
--color-4: #DC8B88;
--color-5: #2E1011;
--color-bg: #FAF3F3;
--color-surface: #FFFBFB;
--color-border: #E4D9D9;
--color-text: #2E1011;
--color-muted: #836464;
--color-primary: #BE222A;
--color-on-primary: #FFFFFF;
--color-accent: #3B5876;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2E1011;
--color-surface: #3A1B1B;
--color-border: #4E3232;
--color-text: #FAF3F3;
--color-muted: #958F8F;
--color-primary: #CC3336;
--color-on-primary: #FFFFFF;
--color-accent: #547291;
--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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #BE222A |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #3B5876 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.00:1 | AAA pass 4.5:1 | |
| Text on surface | 17.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.83:1 | AA pass 4.5:1 | |
| Label on primary | 6.08:1 | AA pass 4.5:1 | |
| Label on accent | 7.39:1 | AAA pass 4.5:1 | |
| Primary on background | 5.56:1 | AA pass 3:1 | |
| Accent on background | 6.75:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.00:1 | AAA pass 4.5:1 | |
| Text on surface | 14.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.51:1 | AA pass 4.5:1 | |
| Label on primary | 5.13:1 | AA pass 4.5:1 | |
| Label on accent | 5.01:1 | AA pass 4.5:1 | |
| Primary on background | 3.42:1 | AA Large pass 3:1 | |
| Accent on background | 3.50: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 | #FAF3F3 (Text 1) | #BE222A (Text 2) | #3B5876 (Text 3) | #DC8B88 (Text 4) | #2E1011 (Text 5) |
|---|---|---|---|---|---|
| #FAF3F3 | Same color | 5.56AA | 6.75AA | 2.37— | 16.00AAA |
| #BE222A | 5.56AA | Same color | 1.21— | 2.34— | 2.88— |
| #3B5876 | 6.75AA | 1.21— | Same color | 2.85— | 2.37— |
| #DC8B88 | 2.37— | 2.34— | 2.85— | Same color | 6.75AA |
| #2E1011 | 16.00AAA | 2.88— | 2.37— | 6.75AA | Same color |
Shades
Shades and tints (50–950)
