PreviewingGo to this paletteOpen in generator
Code
/* Dark Red — colorset.net */
:root {
--color-1: #2C003E;
--color-2: #722F37;
--color-3: #C73E1D;
--color-4: #F39C12;
--color-5: #F1C40F;
--color-bg: #FCF7E8;
--color-surface: #F2EDDF;
--color-border: #DBD5C3;
--color-text: #290838;
--color-muted: #73657C;
--color-primary: #C73E1D;
--color-on-primary: #FFFFFF;
--color-accent: #8F7300;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150A1A;
--color-surface: #1F1425;
--color-border: #35283C;
--color-text: #D5C9A5;
--color-muted: #8B8267;
--color-primary: #C73E1D;
--color-on-primary: #FFFFFF;
--color-accent: #F1C40F;
--color-on-accent: #150A1A;
}
}
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 #F1C40F | adjusted for contrast · from #2C003E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #2C003E | adjusted for contrast · from #F1C40F |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C73E1D | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.53:1 | AAA pass 4.5:1 | |
| Text on surface | 15.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.08:1 | AA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 4.74:1 | AA pass 3:1 | |
| Accent on background | 4.24:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.67:1 | AAA pass 4.5:1 | |
| Text on surface | 10.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.08:1 | AA pass 4.5:1 | |
| Label on accent | 11.60:1 | AAA pass 4.5:1 | |
| Primary on background | 3.79:1 | AA Large pass 3:1 | |
| Accent on background | 11.60: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 | #2C003E (Text 1) | #722F37 (Text 2) | #C73E1D (Text 3) | #F39C12 (Text 4) | #F1C40F (Text 5) |
|---|---|---|---|---|---|
| #2C003E | Same color | 1.85— | 3.51AA Large | 8.14AAA | 10.74AAA |
| #722F37 | 1.85— | Same color | 1.90— | 4.40AA Large | 5.81AA |
| #C73E1D | 3.51AA Large | 1.90— | Same color | 2.32— | 3.06AA Large |
| #F39C12 | 8.14AAA | 4.40AA Large | 2.32— | Same color | 1.32— |
| #F1C40F | 10.74AAA | 5.81AA | 3.06AA Large | 1.32— | Same color |
Shades
Shades and tints (50–950)
