PreviewingGo to this paletteOpen in generator
Code
/* Crimson Night — colorset.net */
:root {
--color-1: #5C0120;
--color-2: #800020;
--color-3: #990000;
--color-4: #DC143C;
--color-5: #FF1744;
--color-bg: #FFF4F3;
--color-surface: #FBE9E8;
--color-border: #E5CFCE;
--color-text: #521624;
--color-muted: #806165;
--color-primary: #ED003B;
--color-on-primary: #FFFFFF;
--color-accent: #800020;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080C;
--color-surface: #271216;
--color-border: #3F2529;
--color-text: #C59B9A;
--color-muted: #9B7B7A;
--color-primary: #ED003B;
--color-on-primary: #FFFFFF;
--color-accent: #A34859;
--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 #FF1744 | adjusted for contrast · from #5C0120 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5C0120 | adjusted for contrast · from #FF1744 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DC143C | adjusted for contrast · from #DC143C |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #DC143C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.00:1 | AAA pass 4.5:1 | |
| Text on surface | 11.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 10.83:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 10.05:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 5.79:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.33: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 | #5C0120 (Text 1) | #800020 (Text 2) | #990000 (Text 3) | #DC143C (Text 4) | #FF1744 (Text 5) |
|---|---|---|---|---|---|
| #5C0120 | Same color | 1.31— | 1.59— | 2.84— | 3.69AA Large |
| #800020 | 1.31— | Same color | 1.21— | 2.17— | 2.82— |
| #990000 | 1.59— | 1.21— | Same color | 1.79— | 2.32— |
| #DC143C | 2.84— | 2.17— | 1.79— | Same color | 1.30— |
| #FF1744 | 3.69AA Large | 2.82— | 2.32— | 1.30— | Same color |
Shades
Shades and tints (50–950)
