PreviewingGo to this paletteOpen in generator
Code
/* Electric Pink — colorset.net */
:root {
--color-1: #FF0066;
--color-2: #FF1A7A;
--color-3: #FF338E;
--color-4: #FF4DA2;
--color-5: #FF66B6;
--color-bg: #FFF3F8;
--color-surface: #F9E8EF;
--color-border: #E3CFD7;
--color-text: #783844;
--color-muted: #816266;
--color-primary: #EA005D;
--color-on-primary: #FFFFFF;
--color-accent: #CD368B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080C;
--color-surface: #271216;
--color-border: #3F2529;
--color-text: #C09AAA;
--color-muted: #977A87;
--color-primary: #EA005D;
--color-on-primary: #FFFFFF;
--color-accent: #FF66B6;
--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 #FF66B6 | adjusted for contrast · from #FF0066 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF0066 | adjusted for contrast · from #FF66B6 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF0066 | adjusted for contrast · from #FF0066 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF338E | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.94:1 | AAA pass 4.5:1 | |
| Text on surface | 7.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 4.67:1 | AA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 4.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.75:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 7.19:1 | AAA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 7.19: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 | #FF0066 (Text 1) | #FF1A7A (Text 2) | #FF338E (Text 3) | #FF4DA2 (Text 4) | #FF66B6 (Text 5) |
|---|---|---|---|---|---|
| #FF0066 | Same color | 1.04— | 1.12— | 1.26— | 1.44— |
| #FF1A7A | 1.04— | Same color | 1.08— | 1.20— | 1.38— |
| #FF338E | 1.12— | 1.08— | Same color | 1.12— | 1.28— |
| #FF4DA2 | 1.26— | 1.20— | 1.12— | Same color | 1.15— |
| #FF66B6 | 1.44— | 1.38— | 1.28— | 1.15— | Same color |
Shades
Shades and tints (50–950)
