PreviewingGo to this paletteOpen in generator
Code
/* Smoldering Mahogany — colorset.net */
:root {
--color-1: #420D09;
--color-2: #5C0A07;
--color-3: #C04000;
--color-4: #CD4A19;
--color-5: #E97451;
--color-bg: #FFF4F1;
--color-surface: #FAE9E4;
--color-border: #E5D0C9;
--color-text: #420D09;
--color-muted: #81635E;
--color-primary: #CD4A19;
--color-on-primary: #FFFFFF;
--color-accent: #5C0A07;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #271311;
--color-border: #3F2623;
--color-text: #C49D91;
--color-muted: #9B7C73;
--color-primary: #CD4A19;
--color-on-primary: #FFFFFF;
--color-accent: #91544C;
--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 #E97451 | adjusted for contrast · from #420D09 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #E97451 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #C04000 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.05:1 | AAA pass 4.5:1 | |
| Text on surface | 13.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 13.99:1 | AAA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 12.96:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.87:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 3.28: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 | #420D09 (Text 1) | #5C0A07 (Text 2) | #C04000 (Text 3) | #CD4A19 (Text 4) | #E97451 (Text 5) |
|---|---|---|---|---|---|
| #420D09 | Same color | 1.16— | 3.07AA Large | 3.55AA Large | 5.48AA |
| #5C0A07 | 1.16— | Same color | 2.65— | 3.06AA Large | 4.72AA |
| #C04000 | 3.07AA Large | 2.65— | Same color | 1.15— | 1.78— |
| #CD4A19 | 3.55AA Large | 3.06AA Large | 1.15— | Same color | 1.54— |
| #E97451 | 5.48AA | 4.72AA | 1.78— | 1.54— | Same color |
Shades
Shades and tints (50–950)
