PreviewingGo to this paletteOpen in generator
Code
/* Retro Neon — colorset.net */
:root {
--color-1: #FF00FF;
--color-2: #00FFFF;
--color-3: #FFFF00;
--color-4: #FF69B4;
--color-5: #7FFFD4;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D5D7C4;
--color-text: #6B3D69;
--color-muted: #796478;
--color-primary: #F100F1;
--color-on-primary: #000000;
--color-accent: #797900;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180917;
--color-surface: #221322;
--color-border: #392738;
--color-text: #F6F8D2;
--color-muted: #8B8C71;
--color-primary: #FF00FF;
--color-on-primary: #180917;
--color-accent: #FFFF00;
--color-on-accent: #180917;
}
}
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 #7FFFD4 | adjusted for contrast · from #FF69B4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF69B4 | adjusted for contrast · from #7FFFD4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF00FF | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF69B4 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 6.01:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 3.25:1 | AA Large pass 3:1 | |
| Accent on background | 4.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.68:1 | AAA pass 4.5:1 | |
| Text on surface | 16.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.58:1 | AA pass 4.5:1 | |
| Label on primary | 6.14:1 | AA pass 4.5:1 | |
| Label on accent | 17.94:1 | AAA pass 4.5:1 | |
| Primary on background | 6.14:1 | AA pass 3:1 | |
| Accent on background | 17.94: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 | #FF00FF (Text 1) | #00FFFF (Text 2) | #FFFF00 (Text 3) | #FF69B4 (Text 4) | #7FFFD4 (Text 5) |
|---|---|---|---|---|---|
| #FF00FF | Same color | 2.50— | 2.92— | 1.18— | 2.56— |
| #00FFFF | 2.50— | Same color | 1.17— | 2.11— | 1.02— |
| #FFFF00 | 2.92— | 1.17— | Same color | 2.47— | 1.14— |
| #FF69B4 | 1.18— | 2.11— | 2.47— | Same color | 2.16— |
| #7FFFD4 | 2.56— | 1.02— | 1.14— | 2.16— | Same color |
Shades
Shades and tints (50–950)
