PreviewingGo to this paletteOpen in generator
Code
/* Taffy Pink — colorset.net */
:root {
--color-1: #D10056;
--color-2: #FF1493;
--color-3: #FF69B4;
--color-4: #FF92C8;
--color-5: #FFB6DB;
--color-bg: #FFF3F9;
--color-surface: #F8E8F0;
--color-border: #E2CFD8;
--color-text: #793945;
--color-muted: #816267;
--color-primary: #E20081;
--color-on-primary: #FFFFFF;
--color-accent: #A26083;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080C;
--color-surface: #271216;
--color-border: #3F2529;
--color-text: #E9C3D5;
--color-muted: #957987;
--color-primary: #E20081;
--color-on-primary: #FFFFFF;
--color-accent: #FF92C8;
--color-on-accent: #1C080C;
}
}
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 | adjusted for contrast · from #FFB6DB | adjusted for contrast · from #D10056 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D10056 | adjusted for contrast · from #FFB6DB |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF1493 | adjusted for contrast · from #FF1493 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D10056 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.63:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 4.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.15:1 | AAA pass 4.5:1 | |
| Text on surface | 11.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 9.36:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 9.36: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 | #D10056 (Text 1) | #FF1493 (Text 2) | #FF69B4 (Text 3) | #FF92C8 (Text 4) | #FFB6DB (Text 5) |
|---|---|---|---|---|---|
| #D10056 | Same color | 1.50— | 2.06— | 2.65— | 3.37AA Large |
| #FF1493 | 1.50— | Same color | 1.37— | 1.77— | 2.25— |
| #FF69B4 | 2.06— | 1.37— | Same color | 1.29— | 1.63— |
| #FF92C8 | 2.65— | 1.77— | 1.29— | Same color | 1.27— |
| #FFB6DB | 3.37AA Large | 2.25— | 1.63— | 1.27— | Same color |
Shades
Shades and tints (50–950)
