PreviewingGo to this paletteOpen in generator
Code
/* Midnight Jazz — colorset.net */
:root {
--color-1: #1A1430;
--color-2: #E0B354;
--color-3: #C8566F;
--color-4: #352C4F;
--color-5: #EEE7F2;
--color-bg: #EEE7F2;
--color-surface: #F4EFF6;
--color-border: #D7CEDC;
--color-text: #1A1430;
--color-muted: #68657E;
--color-primary: #C15069;
--color-on-primary: #FFFFFF;
--color-accent: #987000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A1430;
--color-surface: #241F3C;
--color-border: #39364D;
--color-text: #EEE7F2;
--color-muted: #8E8791;
--color-primary: #C15069;
--color-on-primary: #FFFFFF;
--color-accent: #E0B354;
--color-on-accent: #1A1430;
}
}
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 | from palette · color 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C8566F | adjusted for contrast · from #C8566F |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C8566F | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.62:1 | AAA pass 4.5:1 | |
| Text on surface | 15.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 3.76:1 | AA Large pass 3:1 | |
| Accent on background | 3.73:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.62:1 | AAA pass 4.5:1 | |
| Text on surface | 12.98:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 9.06:1 | AAA pass 4.5:1 | |
| Primary on background | 3.89:1 | AA Large pass 3:1 | |
| Accent on background | 9.06:1 | AAA 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 | #1A1430 (Text 1) | #E0B354 (Text 2) | #C8566F (Text 3) | #352C4F (Text 4) | #EEE7F2 (Text 5) |
|---|---|---|---|---|---|
| #1A1430 | Same color | 9.06AAA | 4.23AA Large | 1.37— | 14.62AAA |
| #E0B354 | 9.06AAA | Same color | 2.14— | 6.61AA | 1.61— |
| #C8566F | 4.23AA Large | 2.14— | Same color | 3.09AA Large | 3.46AA Large |
| #352C4F | 1.37— | 6.61AA | 3.09AA Large | Same color | 10.68AAA |
| #EEE7F2 | 14.62AAA | 1.61— | 3.46AA Large | 10.68AAA | Same color |
Shades
Shades and tints (50–950)
