PreviewingGo to this paletteOpen in generator
Code
/* Magenta Deep — colorset.net */
:root {
--color-1: #F72585;
--color-2: #B5179E;
--color-3: #7209B7;
--color-4: #480CA8;
--color-5: #3A0CA3;
--color-bg: #FFF3F6;
--color-surface: #FAE8ED;
--color-border: #E4CED4;
--color-text: #38366B;
--color-muted: #686983;
--color-primary: #E30076;
--color-on-primary: #FFFFFF;
--color-accent: #3A0CA3;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D0D1E;
--color-surface: #171729;
--color-border: #2B2B41;
--color-text: #C199A4;
--color-muted: #997A82;
--color-primary: #E30076;
--color-on-primary: #FFFFFF;
--color-accent: #6250DD;
--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 #F72585 | adjusted for contrast · from #3A0CA3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #3A0CA3 | adjusted for contrast · from #F72585 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F72585 | adjusted for contrast · from #F72585 |
| On primary | derived | derived |
| Accent | from palette · color 5 | adjusted for contrast · from #7209B7 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.17:1 | AAA pass 4.5:1 | |
| Text on surface | 9.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 11.92:1 | AAA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 11.02:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.66:1 | AA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 3.39: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 | #F72585 (Text 1) | #B5179E (Text 2) | #7209B7 (Text 3) | #480CA8 (Text 4) | #3A0CA3 (Text 5) |
|---|---|---|---|---|---|
| #F72585 | Same color | 1.55— | 2.28— | 2.94— | 3.16AA Large |
| #B5179E | 1.55— | Same color | 1.47— | 1.89— | 2.03— |
| #7209B7 | 2.28— | 1.47— | Same color | 1.29— | 1.38— |
| #480CA8 | 2.94— | 1.89— | 1.29— | Same color | 1.08— |
| #3A0CA3 | 3.16AA Large | 2.03— | 1.38— | 1.08— | Same color |
Shades
Shades and tints (50–950)
