PreviewingGo to this paletteOpen in generator
Code
/* Rose Noir — colorset.net */
:root {
--color-1: #170F12;
--color-2: #EF5B98;
--color-3: #FBC1B5;
--color-4: #403439;
--color-5: #F4ECEF;
--color-bg: #F4ECEF;
--color-surface: #F9F4F6;
--color-border: #DED2D7;
--color-text: #170F12;
--color-muted: #6C6165;
--color-primary: #CF3C7D;
--color-on-primary: #FFFFFF;
--color-accent: #AF7A6F;
--color-on-accent: #170F12;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170F12;
--color-surface: #22191C;
--color-border: #392C31;
--color-text: #F4ECEF;
--color-muted: #8D8689;
--color-primary: #EF5B98;
--color-on-primary: #170F12;
--color-accent: #FBC1B5;
--color-on-accent: #170F12;
}
}
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 #EF5B98 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #EF5B98 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.25:1 | AAA pass 4.5:1 | |
| Text on surface | 17.33:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.24:1 | AA pass 4.5:1 | |
| Primary on background | 3.94:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.25:1 | AAA pass 4.5:1 | |
| Text on surface | 14.78:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 5.95:1 | AA pass 4.5:1 | |
| Label on accent | 12.03:1 | AAA pass 4.5:1 | |
| Primary on background | 5.95:1 | AA pass 3:1 | |
| Accent on background | 12.03: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 | #170F12 (Text 1) | #EF5B98 (Text 2) | #FBC1B5 (Text 3) | #403439 (Text 4) | #F4ECEF (Text 5) |
|---|---|---|---|---|---|
| #170F12 | Same color | 5.95AA | 12.03AAA | 1.59— | 16.25AAA |
| #EF5B98 | 5.95AA | Same color | 2.02— | 3.74AA Large | 2.73— |
| #FBC1B5 | 12.03AAA | 2.02— | Same color | 7.58AAA | 1.35— |
| #403439 | 1.59— | 3.74AA Large | 7.58AAA | Same color | 10.23AAA |
| #F4ECEF | 16.25AAA | 2.73— | 1.35— | 10.23AAA | Same color |
Shades
Shades and tints (50–950)
