PreviewingGo to this paletteOpen in generator
Code
/* Maroon Red — colorset.net */
:root {
--color-1: #800000;
--color-2: #901010;
--color-3: #A02020;
--color-4: #B03030;
--color-5: #C04040;
--color-bg: #FFF4F3;
--color-surface: #FBE9E7;
--color-border: #E5CFCD;
--color-text: #692C24;
--color-muted: #81635E;
--color-primary: #C04040;
--color-on-primary: #FFFFFF;
--color-accent: #800000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #C49A97;
--color-muted: #9A7B78;
--color-primary: #C04040;
--color-on-primary: #FFFFFF;
--color-accent: #F1807A;
--color-on-accent: #1C0907;
}
}
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 #C04040 | adjusted for contrast · from #800000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #800000 | adjusted for contrast · from #C04040 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #C04040 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.81:1 | AAA pass 4.5:1 | |
| Text on surface | 9.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.19:1 | AA pass 4.5:1 | |
| Label on accent | 10.95:1 | AAA pass 4.5:1 | |
| Primary on background | 4.81:1 | AA pass 3:1 | |
| Accent on background | 10.16:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.19:1 | AA pass 4.5:1 | |
| Label on accent | 7.43:1 | AAA pass 4.5:1 | |
| Primary on background | 3.71:1 | AA Large pass 3:1 | |
| Accent on background | 7.43: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 | #800000 (Text 1) | #901010 (Text 2) | #A02020 (Text 3) | #B03030 (Text 4) | #C04040 (Text 5) |
|---|---|---|---|---|---|
| #800000 | Same color | 1.18— | 1.42— | 1.73— | 2.11— |
| #901010 | 1.18— | Same color | 1.20— | 1.46— | 1.79— |
| #A02020 | 1.42— | 1.20— | Same color | 1.22— | 1.49— |
| #B03030 | 1.73— | 1.46— | 1.22— | Same color | 1.22— |
| #C04040 | 2.11— | 1.79— | 1.49— | 1.22— | Same color |
Shades
Shades and tints (50–950)
