PreviewingGo to this paletteOpen in generator
Code
/* Primary Mix — colorset.net */
:root {
--color-1: #C51111;
--color-2: #132ED1;
--color-3: #117F2D;
--color-4: #ED54BA;
--color-5: #F07C05;
--color-bg: #FFF4EE;
--color-surface: #F9EAE1;
--color-border: #E3D1C6;
--color-text: #384D81;
--color-muted: #606B83;
--color-primary: #132ED1;
--color-on-primary: #FFFFFF;
--color-accent: #B75D00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #12192A;
--color-border: #242D42;
--color-text: #C09E89;
--color-muted: #977E6D;
--color-primary: #2854F4;
--color-on-primary: #FFFFFF;
--color-accent: #F07C05;
--color-on-accent: #080F1F;
}
}
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 #F07C05 | adjusted for contrast · from #132ED1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #132ED1 | adjusted for contrast · from #F07C05 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #132ED1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C51111 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 8.98:1 | AAA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 8.31:1 | AAA pass 3:1 | |
| Accent on background | 4.24:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.73:1 | AA pass 4.5:1 | |
| Label on accent | 6.91:1 | AA pass 4.5:1 | |
| Primary on background | 3.34:1 | AA Large pass 3:1 | |
| Accent on background | 6.91:1 | AA 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 | #C51111 (Text 1) | #132ED1 (Text 2) | #117F2D (Text 3) | #ED54BA (Text 4) | #F07C05 (Text 5) |
|---|---|---|---|---|---|
| #C51111 | Same color | 1.48— | 1.18— | 1.90— | 2.19— |
| #132ED1 | 1.48— | Same color | 1.75— | 2.81— | 3.24AA Large |
| #117F2D | 1.18— | 1.75— | Same color | 1.61— | 1.85— |
| #ED54BA | 1.90— | 2.81— | 1.61— | Same color | 1.15— |
| #F07C05 | 2.19— | 3.24AA Large | 1.85— | 1.15— | Same color |
Shades
Shades and tints (50–950)
