PreviewingGo to this paletteOpen in generator
Code
/* Gradient Mix — colorset.net */
:root {
--color-1: #F77737;
--color-2: #FCAF45;
--color-3: #833AB4;
--color-4: #FD1D1D;
--color-5: #405DE6;
--color-bg: #FFF5EA;
--color-surface: #F6ECDF;
--color-border: #E0D3C4;
--color-text: #5F4277;
--color-muted: #73667E;
--color-primary: #EC000E;
--color-on-primary: #FFFFFF;
--color-accent: #405DE6;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140B1B;
--color-surface: #1E1526;
--color-border: #34283D;
--color-text: #D6BC9E;
--color-muted: #93806A;
--color-primary: #EC000E;
--color-on-primary: #FFFFFF;
--color-accent: #405DE6;
--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 #FCAF45 | adjusted for contrast · from #833AB4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #833AB4 | adjusted for contrast · from #FCAF45 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FD1D1D | adjusted for contrast · from #FD1D1D |
| On primary | derived | derived |
| Accent | from palette · color 5 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.70:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 5.35:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 4.97:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.56:1 | AAA pass 4.5:1 | |
| Text on surface | 9.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 5.35:1 | AA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 3.59: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 | #F77737 (Text 1) | #FCAF45 (Text 2) | #833AB4 (Text 3) | #FD1D1D (Text 4) | #405DE6 (Text 5) |
|---|---|---|---|---|---|
| #F77737 | Same color | 1.48— | 2.37— | 1.42— | 1.95— |
| #FCAF45 | 1.48— | Same color | 3.52AA Large | 2.11— | 2.89— |
| #833AB4 | 2.37— | 3.52AA Large | Same color | 1.66— | 1.22— |
| #FD1D1D | 1.42— | 2.11— | 1.66— | Same color | 1.37— |
| #405DE6 | 1.95— | 2.89— | 1.22— | 1.37— | Same color |
Shades
Shades and tints (50–950)
