PreviewingGo to this paletteOpen in generator
Code
/* Chili Pepper Heat — colorset.net */
:root {
--color-1: #B22222;
--color-2: #DC143C;
--color-3: #FF0000;
--color-4: #FF6347;
--color-5: #FF7F50;
--color-bg: #FFF4F0;
--color-surface: #FAE9E4;
--color-border: #E4D0C9;
--color-text: #793933;
--color-muted: #81625F;
--color-primary: #EA0000;
--color-on-primary: #FFFFFF;
--color-accent: #B22222;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281311;
--color-border: #402623;
--color-text: #C69F92;
--color-muted: #987B71;
--color-primary: #EA0000;
--color-on-primary: #FFFFFF;
--color-accent: #BD2E2B;
--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 #FF7F50 | adjusted for contrast · from #B22222 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B22222 | adjusted for contrast · from #FF7F50 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF0000 | adjusted for contrast · from #FF0000 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #B22222 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.95:1 | AAA pass 4.5:1 | |
| Text on surface | 7.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 6.68:1 | AA pass 4.5:1 | |
| Primary on background | 4.32:1 | AA Large pass 3:1 | |
| Accent on background | 6.18:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.04:1 | AAA pass 4.5:1 | |
| Text on surface | 7.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 5.85:1 | AA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 3.29: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 | #B22222 (Text 1) | #DC143C (Text 2) | #FF0000 (Text 3) | #FF6347 (Text 4) | #FF7F50 (Text 5) |
|---|---|---|---|---|---|
| #B22222 | Same color | 1.34— | 1.67— | 2.27— | 2.67— |
| #DC143C | 1.34— | Same color | 1.25— | 1.69— | 2.00— |
| #FF0000 | 1.67— | 1.25— | Same color | 1.36— | 1.60— |
| #FF6347 | 2.27— | 1.69— | 1.36— | Same color | 1.18— |
| #FF7F50 | 2.67— | 2.00— | 1.60— | 1.18— | Same color |
Shades
Shades and tints (50–950)
