PreviewingGo to this paletteOpen in generator
Code
/* Roasted Chestnut — colorset.net */
:root {
--color-1: #954535;
--color-2: #B05645;
--color-3: #CB6755;
--color-4: #E67865;
--color-5: #FF8975;
--color-bg: #FFF4F2;
--color-surface: #FBE9E5;
--color-border: #E5CFCB;
--color-text: #793B2E;
--color-muted: #81635D;
--color-primary: #BA5847;
--color-on-primary: #FFFFFF;
--color-accent: #954535;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0906;
--color-surface: #27130F;
--color-border: #402621;
--color-text: #CEA59D;
--color-muted: #9A7B75;
--color-primary: #BA5847;
--color-on-primary: #FFFFFF;
--color-accent: #FF8975;
--color-on-accent: #1C0906;
}
}
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 #FF8975 | adjusted for contrast · from #954535 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #954535 | adjusted for contrast · from #FF8975 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B05645 | adjusted for contrast · from #B05645 |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| 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.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 6.60:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 6.12:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.70:1 | AAA pass 4.5:1 | |
| Text on surface | 8.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 8.33:1 | AAA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 8.33: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 | #954535 (Text 1) | #B05645 (Text 2) | #CB6755 (Text 3) | #E67865 (Text 4) | #FF8975 (Text 5) |
|---|---|---|---|---|---|
| #954535 | Same color | 1.34— | 1.76— | 2.28— | 2.86— |
| #B05645 | 1.34— | Same color | 1.32— | 1.70— | 2.13— |
| #CB6755 | 1.76— | 1.32— | Same color | 1.29— | 1.62— |
| #E67865 | 2.28— | 1.70— | 1.29— | Same color | 1.26— |
| #FF8975 | 2.86— | 2.13— | 1.62— | 1.26— | Same color |
Shades
Shades and tints (50–950)
