PreviewingGo to this paletteOpen in generator
Code
/* Cache Red — colorset.net */
:root {
--color-1: #DC382D;
--color-2: #B8312F;
--color-3: #942A2D;
--color-4: #70232B;
--color-5: #4C1C29;
--color-bg: #FFF4F2;
--color-surface: #FBE9E6;
--color-border: #E5CFCC;
--color-text: #4C1C29;
--color-muted: #7F6167;
--color-primary: #DC382D;
--color-on-primary: #FFFFFF;
--color-accent: #70232B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0A0D;
--color-surface: #251417;
--color-border: #3D262B;
--color-text: #C69D96;
--color-muted: #9C7C77;
--color-primary: #DC382D;
--color-on-primary: #FFFFFF;
--color-accent: #8E5763;
--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 #DC382D | adjusted for contrast · from #4C1C29 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | adjusted for contrast · from #DC382D |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #942A2D |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.94:1 | AAA pass 4.5:1 | |
| Text on surface | 11.89:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 10.69:1 | AAA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 9.91:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.93:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 5.69:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 3.38: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 | #DC382D (Text 1) | #B8312F (Text 2) | #942A2D (Text 3) | #70232B (Text 4) | #4C1C29 (Text 5) |
|---|---|---|---|---|---|
| #DC382D | Same color | 1.32— | 1.77— | 2.37— | 3.09AA Large |
| #B8312F | 1.32— | Same color | 1.34— | 1.79— | 2.34— |
| #942A2D | 1.77— | 1.34— | Same color | 1.34— | 1.75— |
| #70232B | 2.37— | 1.79— | 1.34— | Same color | 1.30— |
| #4C1C29 | 3.09AA Large | 2.34— | 1.75— | 1.30— | Same color |
Shades
Shades and tints (50–950)
