PreviewingGo to this paletteOpen in generator
Code
/* Midnight Rendezvous — colorset.net */
:root {
--color-1: #1A0E17;
--color-2: #E63973;
--color-3: #F2C6A0;
--color-4: #3D1F33;
--color-5: #FAEDEF;
--color-bg: #FAEDEF;
--color-surface: #FEF6F7;
--color-border: #E4D3D6;
--color-text: #1A0E17;
--color-muted: #70606C;
--color-primary: #DB2C6A;
--color-on-primary: #FFFFFF;
--color-accent: #AA815D;
--color-on-accent: #1A0E17;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0E17;
--color-surface: #251821;
--color-border: #3C2B38;
--color-text: #FAEDEF;
--color-muted: #928688;
--color-primary: #DB2C6A;
--color-on-primary: #FFFFFF;
--color-accent: #F2C6A0;
--color-on-accent: #1A0E17;
}
}
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 #E63973 | adjusted for contrast · from #E63973 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E63973 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.46:1 | AAA pass 4.5:1 | |
| Text on surface | 17.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.37:1 | AA pass 4.5:1 | |
| Primary on background | 4.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.07:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.46:1 | AAA pass 4.5:1 | |
| Text on surface | 14.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.35:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 11.94:1 | AAA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 11.94: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 | #1A0E17 (Text 1) | #E63973 (Text 2) | #F2C6A0 (Text 3) | #3D1F33 (Text 4) | #FAEDEF (Text 5) |
|---|---|---|---|---|---|
| #1A0E17 | Same color | 4.64AA | 11.94AAA | 1.29— | 16.46AAA |
| #E63973 | 4.64AA | Same color | 2.57— | 3.60AA Large | 3.55AA Large |
| #F2C6A0 | 11.94AAA | 2.57— | Same color | 9.26AAA | 1.38— |
| #3D1F33 | 1.29— | 3.60AA Large | 9.26AAA | Same color | 12.78AAA |
| #FAEDEF | 16.46AAA | 3.55AA Large | 1.38— | 12.78AAA | Same color |
Shades
Shades and tints (50–950)
