PreviewingGo to this paletteOpen in generator
Code
/* Hot Sauce Label — colorset.net */
:root {
--color-1: #E31418;
--color-2: #EC6F00;
--color-3: #EDC812;
--color-4: #279936;
--color-5: #331511;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #331511;
--color-muted: #81635E;
--color-primary: #E31418;
--color-on-primary: #FFFFFF;
--color-accent: #098925;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #331511;
--color-surface: #3F201B;
--color-border: #533833;
--color-text: #D4CBA6;
--color-muted: #968F73;
--color-primary: #E31418;
--color-on-primary: #FFFFFF;
--color-accent: #098925;
--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 #EDC812 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | adjusted for contrast · from #EDC812 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #279936 | adjusted for contrast · from #279936 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.58:1 | AAA pass 4.5:1 | |
| Text on surface | 14.36:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 4.47:1 | AA Large pass 3:1 | |
| Accent on background | 4.24:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.26:1 | AAA pass 4.5:1 | |
| Text on surface | 8.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 3.49:1 | AA Large pass 3:1 | |
| Accent on background | 3.68: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 | #E31418 (Text 1) | #EC6F00 (Text 2) | #EDC812 (Text 3) | #279936 (Text 4) | #331511 (Text 5) |
|---|---|---|---|---|---|
| #E31418 | Same color | 1.56— | 2.94— | 1.30— | 3.49AA Large |
| #EC6F00 | 1.56— | Same color | 1.88— | 1.20— | 5.45AA |
| #EDC812 | 2.94— | 1.88— | Same color | 2.26— | 10.25AAA |
| #279936 | 1.30— | 1.20— | 2.26— | Same color | 4.53AA |
| #331511 | 3.49AA Large | 5.45AA | 10.25AAA | 4.53AA | Same color |
Shades
Shades and tints (50–950)
