PreviewingGo to this paletteOpen in generator
Code
/* Molten Garnet — colorset.net */
:root {
--color-1: #8B0000;
--color-2: #B71C1C;
--color-3: #D32F2F;
--color-4: #F44336;
--color-5: #FFCDD2;
--color-bg: #FFF4F5;
--color-surface: #F9E9EA;
--color-border: #E3CFD1;
--color-text: #70322A;
--color-muted: #82645F;
--color-primary: #E22E25;
--color-on-primary: #FFFFFF;
--color-accent: #8B0000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #FBCFD3;
--color-muted: #997A7D;
--color-primary: #E22E25;
--color-on-primary: #FFFFFF;
--color-accent: #B73A2D;
--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 #FFCDD2 | adjusted for contrast · from #8B0000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B0000 | adjusted for contrast · from #FFCDD2 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D32F2F | adjusted for contrast · from #D32F2F |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #B71C1C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.96:1 | AAA pass 4.5:1 | |
| Text on surface | 8.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 10.01:1 | AAA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 9.30:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.71:1 | AAA pass 4.5:1 | |
| Text on surface | 12.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.35: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 | #8B0000 (Text 1) | #B71C1C (Text 2) | #D32F2F (Text 3) | #F44336 (Text 4) | #FFCDD2 (Text 5) |
|---|---|---|---|---|---|
| #8B0000 | Same color | 1.52— | 2.01— | 2.72— | 7.11AAA |
| #B71C1C | 1.52— | Same color | 1.32— | 1.78— | 4.67AA |
| #D32F2F | 2.01— | 1.32— | Same color | 1.35— | 3.54AA Large |
| #F44336 | 2.72— | 1.78— | 1.35— | Same color | 2.62— |
| #FFCDD2 | 7.11AAA | 4.67AA | 3.54AA Large | 2.62— | Same color |
Shades
Shades and tints (50–950)
