PreviewingGo to this paletteOpen in generator
Code
/* Navy Magenta — colorset.net */
:root {
--color-1: #1B1B2F;
--color-2: #162447;
--color-3: #1F4690;
--color-4: #E43F5A;
--color-5: #E1306C;
--color-bg: #FFF4F4;
--color-surface: #FBE8E9;
--color-border: #E5CFCF;
--color-text: #1B1B2F;
--color-muted: #676880;
--color-primary: #DD2C69;
--color-on-primary: #FFFFFF;
--color-accent: #1F4690;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B1B2F;
--color-surface: #26263B;
--color-border: #3B3B52;
--color-text: #D5AAAC;
--color-muted: #A98889;
--color-primary: #DD2C69;
--color-on-primary: #FFFFFF;
--color-accent: #4872C1;
--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 #E43F5A | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #E43F5A |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E1306C | adjusted for contrast · from #E1306C |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #1F4690 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.67:1 | AAA pass 4.5:1 | |
| Text on surface | 14.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 8.99:1 | AAA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 8.34:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.18:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 4.72:1 | AA pass 4.5:1 | |
| Primary on background | 3.73:1 | AA Large pass 3:1 | |
| Accent on background | 3.58: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 | #1B1B2F (Text 1) | #162447 (Text 2) | #1F4690 (Text 3) | #E43F5A (Text 4) | #E1306C (Text 5) |
|---|---|---|---|---|---|
| #1B1B2F | Same color | 1.11— | 1.88— | 4.14AA Large | 3.89AA Large |
| #162447 | 1.11— | Same color | 1.70— | 3.74AA Large | 3.51AA Large |
| #1F4690 | 1.88— | 1.70— | Same color | 2.21— | 2.07— |
| #E43F5A | 4.14AA Large | 3.74AA Large | 2.21— | Same color | 1.07— |
| #E1306C | 3.89AA Large | 3.51AA Large | 2.07— | 1.07— | Same color |
Shades
Shades and tints (50–950)
