PreviewingGo to this paletteOpen in generator
Code
/* Maroon Hearth — colorset.net */
:root {
--color-1: #400000;
--color-2: #600000;
--color-3: #800000;
--color-4: #A52A2A;
--color-5: #CD5C5C;
--color-bg: #FFF4F3;
--color-surface: #FBE9E7;
--color-border: #E5CFCD;
--color-text: #3E0302;
--color-muted: #80625D;
--color-primary: #BF5051;
--color-on-primary: #FFFFFF;
--color-accent: #600000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #C49A98;
--color-muted: #9B7B79;
--color-primary: #BF5051;
--color-on-primary: #FFFFFF;
--color-accent: #995349;
--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 #CD5C5C | adjusted for contrast · from #400000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #400000 | adjusted for contrast · from #CD5C5C |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CD5C5C | adjusted for contrast · from #CD5C5C |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #A52A2A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.99:1 | AAA pass 4.5:1 | |
| Text on surface | 14.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 14.02:1 | AAA pass 4.5:1 | |
| Primary on background | 4.35:1 | AA Large pass 3:1 | |
| Accent on background | 13.01:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 5.69:1 | AA pass 4.5:1 | |
| Primary on background | 4.11:1 | AA Large pass 3:1 | |
| Accent on background | 3.38: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 | #400000 (Text 1) | #600000 (Text 2) | #800000 (Text 3) | #A52A2A (Text 4) | #CD5C5C (Text 5) |
|---|---|---|---|---|---|
| #400000 | Same color | 1.23— | 1.57— | 2.43— | 4.34AA Large |
| #600000 | 1.23— | Same color | 1.28— | 1.98— | 3.53AA Large |
| #800000 | 1.57— | 1.28— | Same color | 1.55— | 2.75— |
| #A52A2A | 2.43— | 1.98— | 1.55— | Same color | 1.78— |
| #CD5C5C | 4.34AA Large | 3.53AA Large | 2.75— | 1.78— | Same color |
Shades
Shades and tints (50–950)
