PreviewingGo to this paletteOpen in generator
Code
/* Pink Highlighter — colorset.net */
:root {
--color-1: #FFF6FA;
--color-2: #D84497;
--color-3: #F8A59A;
--color-4: #FAD1E0;
--color-5: #2C232B;
--color-bg: #FFF6FA;
--color-surface: #F6EDF1;
--color-border: #E0D3D9;
--color-text: #2C232B;
--color-muted: #726771;
--color-primary: #CD398E;
--color-on-primary: #FFFFFF;
--color-accent: #C2746A;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110E11;
--color-surface: #1C181B;
--color-border: #322C31;
--color-text: #FFF6FA;
--color-muted: #928A8D;
--color-primary: #CD398E;
--color-on-primary: #FFFFFF;
--color-accent: #F8A59A;
--color-on-accent: #110E11;
}
}
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 1 | adjusted for contrast · from #2C232B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D84497 | adjusted for contrast · from #D84497 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D84497 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.33:1 | AAA pass 4.5:1 | |
| Text on surface | 13.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.10:1 | AAA pass 4.5:1 | |
| Text on surface | 16.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.70:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 9.90:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 9.90: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 | #FFF6FA (Text 1) | #D84497 (Text 2) | #F8A59A (Text 3) | #FAD1E0 (Text 4) | #2C232B (Text 5) |
|---|---|---|---|---|---|
| #FFF6FA | Same color | 3.82AA Large | 1.83— | 1.30— | 14.33AAA |
| #D84497 | 3.82AA Large | Same color | 2.09— | 2.94— | 3.76AA Large |
| #F8A59A | 1.83— | 2.09— | Same color | 1.41— | 7.84AAA |
| #FAD1E0 | 1.30— | 2.94— | 1.41— | Same color | 11.04AAA |
| #2C232B | 14.33AAA | 3.76AA Large | 7.84AAA | 11.04AAA | Same color |
Shades
Shades and tints (50–950)
