PreviewingGo to this paletteOpen in generator
Code
/* Midnight Cart — colorset.net */
:root {
--color-1: #0E1726;
--color-2: #36C2CE;
--color-3: #FF8364;
--color-4: #1F2C43;
--color-5: #E9F1F7;
--color-bg: #E9F1F7;
--color-surface: #F3F8FB;
--color-border: #CED9E1;
--color-text: #0E1726;
--color-muted: #5E697C;
--color-primary: #C75033;
--color-on-primary: #FFFFFF;
--color-accent: #00838D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E1726;
--color-surface: #182231;
--color-border: #2B374A;
--color-text: #E9F1F7;
--color-muted: #868D92;
--color-primary: #FF8364;
--color-on-primary: #0E1726;
--color-accent: #36C2CE;
--color-on-accent: #0E1726;
}
}
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 #FF8364 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #36C2CE | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.73:1 | AAA pass 4.5:1 | |
| Text on surface | 16.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.86:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 3.98:1 | AA Large pass 3:1 | |
| Accent on background | 3.97:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.73:1 | AAA pass 4.5:1 | |
| Text on surface | 14.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.34:1 | AA pass 4.5:1 | |
| Label on primary | 7.43:1 | AAA pass 4.5:1 | |
| Label on accent | 8.35:1 | AAA pass 4.5:1 | |
| Primary on background | 7.43:1 | AAA pass 3:1 | |
| Accent on background | 8.35: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 | #0E1726 (Text 1) | #36C2CE (Text 2) | #FF8364 (Text 3) | #1F2C43 (Text 4) | #E9F1F7 (Text 5) |
|---|---|---|---|---|---|
| #0E1726 | Same color | 8.35AAA | 7.43AAA | 1.28— | 15.73AAA |
| #36C2CE | 8.35AAA | Same color | 1.12— | 6.51AA | 1.88— |
| #FF8364 | 7.43AAA | 1.12— | Same color | 5.79AA | 2.12— |
| #1F2C43 | 1.28— | 6.51AA | 5.79AA | Same color | 12.26AAA |
| #E9F1F7 | 15.73AAA | 1.88— | 2.12— | 12.26AAA | Same color |
Shades
Shades and tints (50–950)
