PreviewingGo to this paletteOpen in generator
Code
/* Crimson Bold — colorset.net */
:root {
--color-1: #8B0000;
--color-2: #FFD700;
--color-3: #4B0082;
--color-4: #FFFFFF;
--color-5: #DC143C;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #402A5E;
--color-muted: #756B85;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #A78C00;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #FFD700;
--color-on-accent: #120B1C;
}
}
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 4 | adjusted for contrast · from #4B0082 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4B0082 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DC143C | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.27:1 | AAA pass 4.5:1 | |
| Text on surface | 11.36:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 6.39:1 | AA pass 4.5:1 | |
| Primary on background | 4.99:1 | AA pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.26:1 | AAA pass 4.5:1 | |
| Text on surface | 17.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 13.73:1 | AAA pass 4.5:1 | |
| Primary on background | 3.86:1 | AA Large pass 3:1 | |
| Accent on background | 13.73:1 | AAA 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) | #FFD700 (Text 2) | #4B0082 (Text 3) | #FFFFFF (Text 4) | #DC143C (Text 5) |
|---|---|---|---|---|---|
| #8B0000 | Same color | 7.14AAA | 1.29— | 10.01AAA | 2.01— |
| #FFD700 | 7.14AAA | Same color | 9.23AAA | 1.40— | 3.56AA Large |
| #4B0082 | 1.29— | 9.23AAA | Same color | 12.95AAA | 2.60— |
| #FFFFFF | 10.01AAA | 1.40— | 12.95AAA | Same color | 4.99AA |
| #DC143C | 2.01— | 3.56AA Large | 2.60— | 4.99AA | Same color |
Shades
Shades and tints (50–950)
