PreviewingGo to this paletteOpen in generator
Code
/* Pink Electric — colorset.net */
:root {
--color-1: #FF0080;
--color-2: #FF4080;
--color-3: #FF8080;
--color-4: #FFC080;
--color-5: #FFFF80;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D7C4;
--color-text: #793A4D;
--color-muted: #81636A;
--color-primary: #E50072;
--color-on-primary: #FFFFFF;
--color-accent: #8F8D00;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080E;
--color-surface: #271218;
--color-border: #3F252C;
--color-text: #F9FAD4;
--color-muted: #8D8E72;
--color-primary: #E50072;
--color-on-primary: #FFFFFF;
--color-accent: #FFFF80;
--color-on-accent: #1C080E;
}
}
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 #FFFF80 | adjusted for contrast · from #FF0080 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF0080 | adjusted for contrast · from #FFFF80 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF0080 | adjusted for contrast · from #FF0080 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF8080 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.02:1 | AAA pass 4.5:1 | |
| Text on surface | 16.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.73:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 18.22:1 | AAA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 18.22: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 | #FF0080 (Text 1) | #FF4080 (Text 2) | #FF8080 (Text 3) | #FFC080 (Text 4) | #FFFF80 (Text 5) |
|---|---|---|---|---|---|
| #FF0080 | Same color | 1.13— | 1.55— | 2.36— | 3.57AA Large |
| #FF4080 | 1.13— | Same color | 1.37— | 2.08— | 3.16AA Large |
| #FF8080 | 1.55— | 1.37— | Same color | 1.51— | 2.30— |
| #FFC080 | 2.36— | 2.08— | 1.51— | Same color | 1.52— |
| #FFFF80 | 3.57AA Large | 3.16AA Large | 2.30— | 1.52— | Same color |
Shades
Shades and tints (50–950)
