PreviewingGo to this paletteOpen in generator
Code
/* Spectrum Mix — colorset.net */
:root {
--color-1: #DC2626;
--color-2: #F59E0B;
--color-3: #10B981;
--color-4: #3B82F6;
--color-5: #8B5CF6;
--color-bg: #FFF5EA;
--color-surface: #F7ECDF;
--color-border: #E0D2C4;
--color-text: #7C3C36;
--color-muted: #826460;
--color-primary: #DC2626;
--color-on-primary: #FFFFFF;
--color-accent: #2B72E5;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402623;
--color-text: #C9AF92;
--color-muted: #927F69;
--color-primary: #DC2626;
--color-on-primary: #FFFFFF;
--color-accent: #2B72E5;
--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 #F59E0B | adjusted for contrast · from #DC2626 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DC2626 | adjusted for contrast · from #F59E0B |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3B82F6 | adjusted for contrast · from #3B82F6 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 4.48:1 | AA Large pass 3:1 | |
| Accent on background | 4.20:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.19:1 | AAA pass 4.5:1 | |
| Text on surface | 8.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 3.98:1 | AA Large pass 3:1 | |
| Accent on background | 4.25: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 | #DC2626 (Text 1) | #F59E0B (Text 2) | #10B981 (Text 3) | #3B82F6 (Text 4) | #8B5CF6 (Text 5) |
|---|---|---|---|---|---|
| #DC2626 | Same color | 2.25— | 1.90— | 1.31— | 1.14— |
| #F59E0B | 2.25— | Same color | 1.18— | 1.71— | 1.97— |
| #10B981 | 1.90— | 1.18— | Same color | 1.45— | 1.67— |
| #3B82F6 | 1.31— | 1.71— | 1.45— | Same color | 1.15— |
| #8B5CF6 | 1.14— | 1.97— | 1.67— | 1.15— | Same color |
Shades
Shades and tints (50–950)
