PreviewingGo to this paletteOpen in generator
Code
/* Chestnut Spice — colorset.net */
:root {
--color-1: #954535;
--color-2: #AA5D38;
--color-3: #CD5C5C;
--color-4: #D2691E;
--color-5: #E97451;
--color-bg: #FFF4F1;
--color-surface: #FAE9E4;
--color-border: #E5D0C9;
--color-text: #793B2E;
--color-muted: #81635D;
--color-primary: #BC5800;
--color-on-primary: #FFFFFF;
--color-accent: #BF5051;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0906;
--color-surface: #27130F;
--color-border: #402621;
--color-text: #C49D91;
--color-muted: #9B7C73;
--color-primary: #BC5800;
--color-on-primary: #FFFFFF;
--color-accent: #BF5051;
--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 #954535 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #954535 | adjusted for contrast · from #E97451 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #AA5D38 | adjusted for contrast · from #AA5D38 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CD5C5C | adjusted for contrast · from #CD5C5C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.85:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 4.69:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 4.69:1 | AA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 4.11: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 | #954535 (Text 1) | #AA5D38 (Text 2) | #CD5C5C (Text 3) | #D2691E (Text 4) | #E97451 (Text 5) |
|---|---|---|---|---|---|
| #954535 | Same color | 1.36— | 1.66— | 1.82— | 2.23— |
| #AA5D38 | 1.36— | Same color | 1.22— | 1.33— | 1.63— |
| #CD5C5C | 1.66— | 1.22— | Same color | 1.09— | 1.34— |
| #D2691E | 1.82— | 1.33— | 1.09— | Same color | 1.23— |
| #E97451 | 2.23— | 1.63— | 1.34— | 1.23— | Same color |
Shades
Shades and tints (50–950)
