PreviewingGo to this paletteOpen in generator
Code
/* Pink Ticker — colorset.net */
:root {
--color-1: #F5F0F6;
--color-2: #D63F8C;
--color-3: #1B2A41;
--color-4: #F3C4DA;
--color-5: #5E6472;
--color-bg: #F5F0F6;
--color-surface: #FBF8FC;
--color-border: #DED6DF;
--color-text: #1B2A41;
--color-muted: #606F86;
--color-primary: #CF3886;
--color-on-primary: #FFFFFF;
--color-accent: #8C888D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1018;
--color-surface: #141A22;
--color-border: #272E3A;
--color-text: #F5F0F6;
--color-muted: #8B878C;
--color-primary: #CF3886;
--color-on-primary: #FFFFFF;
--color-accent: #576883;
--color-on-accent: #FFFFFF;
}
}
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 #1B2A41 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 3 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D63F8C | adjusted for contrast · from #D63F8C |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5E6472 | adjusted for contrast · from #5E6472 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.84:1 | AAA pass 4.5:1 | |
| Text on surface | 13.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.54:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 6.02:1 | AA pass 4.5:1 | |
| Primary on background | 4.09: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.98:1 | AAA pass 4.5:1 | |
| Text on surface | 15.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.40:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.66:1 | AA pass 4.5:1 | |
| Primary on background | 4.15:1 | AA Large pass 3:1 | |
| Accent on background | 3.37:1 | AA Large 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 | #F5F0F6 (Text 1) | #D63F8C (Text 2) | #1B2A41 (Text 3) | #F3C4DA (Text 4) | #5E6472 (Text 5) |
|---|---|---|---|---|---|
| #F5F0F6 | Same color | 3.77AA Large | 12.84AAA | 1.36— | 5.27AA |
| #D63F8C | 3.77AA Large | Same color | 3.40AA Large | 2.77— | 1.40— |
| #1B2A41 | 12.84AAA | 3.40AA Large | Same color | 9.43AAA | 2.44— |
| #F3C4DA | 1.36— | 2.77— | 9.43AAA | Same color | 3.87AA Large |
| #5E6472 | 5.27AA | 1.40— | 2.44— | 3.87AA Large | Same color |
Shades
Shades and tints (50–950)
