PreviewingGo to this paletteOpen in generator
Code
/* Spice Red — colorset.net */
:root {
--color-1: #B22222;
--color-2: #DC143C;
--color-3: #FF6347;
--color-4: #FFA07A;
--color-5: #FFE4E1;
--color-bg: #FFE4E1;
--color-surface: #FFEEEC;
--color-border: #E9CAC7;
--color-text: #793933;
--color-muted: #7F615D;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #98807D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281311;
--color-border: #402623;
--color-text: #FFE4E1;
--color-muted: #977F7C;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #FFA07A;
--color-on-accent: #1C0907;
}
}
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 | from palette · color 5 | adjusted for contrast · from #B22222 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B22222 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF6347 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.13:1 | AAA pass 4.5:1 | |
| Text on surface | 7.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.97:1 | AAA pass 4.5:1 | |
| Text on surface | 14.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.17:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 9.68:1 | AAA pass 4.5:1 | |
| Primary on background | 3.86:1 | AA Large pass 3:1 | |
| Accent on background | 9.68: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 | #B22222 (Text 1) | #DC143C (Text 2) | #FF6347 (Text 3) | #FFA07A (Text 4) | #FFE4E1 (Text 5) |
|---|---|---|---|---|---|
| #B22222 | Same color | 1.34— | 2.27— | 3.36AA Large | 5.54AA |
| #DC143C | 1.34— | Same color | 1.69— | 2.51— | 4.14AA Large |
| #FF6347 | 2.27— | 1.69— | Same color | 1.48— | 2.45— |
| #FFA07A | 3.36AA Large | 2.51— | 1.48— | Same color | 1.65— |
| #FFE4E1 | 5.54AA | 4.14AA Large | 2.45— | 1.65— | Same color |
Shades
Shades and tints (50–950)
