PreviewingGo to this paletteOpen in generator
Code
/* Maroon Dark — colorset.net */
:root {
--color-1: #1A0306;
--color-2: #2F050C;
--color-3: #4D0A13;
--color-4: #6B0F1A;
--color-5: #891421;
--color-bg: #FFF4F3;
--color-surface: #FBE9E7;
--color-border: #E5CFCD;
--color-text: #1A0306;
--color-muted: #77595B;
--color-primary: #891421;
--color-on-primary: #FFFFFF;
--color-accent: #2F050C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0306;
--color-surface: #250B0F;
--color-border: #3A2023;
--color-text: #BF9593;
--color-muted: #987876;
--color-primary: #AE3B3F;
--color-on-primary: #FFFFFF;
--color-accent: #7B595C;
--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 #891421 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #891421 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #891421 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #891421 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.39:1 | AAA pass 4.5:1 | |
| Text on surface | 16.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.79:1 | AA pass 4.5:1 | |
| Label on primary | 9.61:1 | AAA pass 4.5:1 | |
| Label on accent | 18.29:1 | AAA pass 4.5:1 | |
| Primary on background | 8.92:1 | AAA pass 3:1 | |
| Accent on background | 16.98:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.49:1 | AAA pass 4.5:1 | |
| Text on surface | 7.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 6.00:1 | AA pass 4.5:1 | |
| Label on accent | 6.13:1 | AA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.23: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 | #1A0306 (Text 1) | #2F050C (Text 2) | #4D0A13 (Text 3) | #6B0F1A (Text 4) | #891421 (Text 5) |
|---|---|---|---|---|---|
| #1A0306 | Same color | 1.08— | 1.29— | 1.61— | 2.06— |
| #2F050C | 1.08— | Same color | 1.19— | 1.49— | 1.90— |
| #4D0A13 | 1.29— | 1.19— | Same color | 1.25— | 1.60— |
| #6B0F1A | 1.61— | 1.49— | 1.25— | Same color | 1.28— |
| #891421 | 2.06— | 1.90— | 1.60— | 1.28— | Same color |
Shades
Shades and tints (50–950)
