PreviewingGo to this paletteOpen in generator
Code
/* Retro Synth — colorset.net */
:root {
--color-1: #0E0E27;
--color-2: #4CDBE3;
--color-3: #ED46A5;
--color-4: #34315F;
--color-5: #E7F0F8;
--color-bg: #E7F0F8;
--color-surface: #F1F7FC;
--color-border: #CCD8E2;
--color-text: #0E0E27;
--color-muted: #60627B;
--color-primary: #ED46A5;
--color-on-primary: #0E0E27;
--color-accent: #00989F;
--color-on-accent: #0E0E27;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0E27;
--color-surface: #181933;
--color-border: #2C2E44;
--color-text: #E7F0F8;
--color-muted: #818991;
--color-primary: #ED46A5;
--color-on-primary: #0E0E27;
--color-accent: #4CDBE3;
--color-on-accent: #0E0E27;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4CDBE3 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.40:1 | AAA pass 4.5:1 | |
| Text on surface | 17.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.16:1 | AA pass 4.5:1 | |
| Label on primary | 5.42:1 | AA pass 4.5:1 | |
| Label on accent | 5.39:1 | AA pass 4.5:1 | |
| Primary on background | 3.03:1 | AA Large pass 3:1 | |
| Accent on background | 3.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.40:1 | AAA pass 4.5:1 | |
| Text on surface | 14.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.33:1 | AA pass 4.5:1 | |
| Label on primary | 5.42:1 | AA pass 4.5:1 | |
| Label on accent | 11.30:1 | AAA pass 4.5:1 | |
| Primary on background | 5.42:1 | AA pass 3:1 | |
| Accent on background | 11.30: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 | #0E0E27 (Text 1) | #4CDBE3 (Text 2) | #ED46A5 (Text 3) | #34315F (Text 4) | #E7F0F8 (Text 5) |
|---|---|---|---|---|---|
| #0E0E27 | Same color | 11.30AAA | 5.42AA | 1.58— | 16.40AAA |
| #4CDBE3 | 11.30AAA | Same color | 2.08— | 7.17AAA | 1.45— |
| #ED46A5 | 5.42AA | 2.08— | Same color | 3.44AA Large | 3.03AA Large |
| #34315F | 1.58— | 7.17AAA | 3.44AA Large | Same color | 10.41AAA |
| #E7F0F8 | 16.40AAA | 1.45— | 3.03AA Large | 10.41AAA | Same color |
Shades
Shades and tints (50–950)
