PreviewingGo to this paletteOpen in generator
Code
/* Glitch Pink — colorset.net */
:root {
--color-1: #13091A;
--color-2: #FF3CAC;
--color-3: #FAF33E;
--color-4: #2E1A3A;
--color-5: #F7EAF6;
--color-bg: #F7EAF6;
--color-surface: #FBF3FA;
--color-border: #E0D0DF;
--color-text: #13091A;
--color-muted: #685C72;
--color-primary: #F833A6;
--color-on-primary: #13091A;
--color-accent: #7D7900;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #13091A;
--color-surface: #1D1325;
--color-border: #32273B;
--color-text: #F7EAF6;
--color-muted: #8E828D;
--color-primary: #FF3CAC;
--color-on-primary: #13091A;
--color-accent: #FAF33E;
--color-on-accent: #13091A;
}
}
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 | adjusted for contrast · from #FF3CAC | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF3CAC | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.69:1 | AAA pass 4.5:1 | |
| Text on surface | 17.84:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 5.56:1 | AA pass 4.5:1 | |
| Label on accent | 4.56:1 | AA pass 4.5:1 | |
| Primary on background | 3.00:1 | AA Large pass 3:1 | |
| Accent on background | 3.92:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.69:1 | AAA pass 4.5:1 | |
| Text on surface | 15.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 6.00:1 | AA pass 4.5:1 | |
| Label on accent | 16.60:1 | AAA pass 4.5:1 | |
| Primary on background | 6.00:1 | AA pass 3:1 | |
| Accent on background | 16.60: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 | #13091A (Text 1) | #FF3CAC (Text 2) | #FAF33E (Text 3) | #2E1A3A (Text 4) | #F7EAF6 (Text 5) |
|---|---|---|---|---|---|
| #13091A | Same color | 6.00AA | 16.60AAA | 1.22— | 16.69AAA |
| #FF3CAC | 6.00AA | Same color | 2.76— | 4.90AA | 2.78— |
| #FAF33E | 16.60AAA | 2.76— | Same color | 13.55AAA | 1.01— |
| #2E1A3A | 1.22— | 4.90AA | 13.55AAA | Same color | 13.63AAA |
| #F7EAF6 | 16.69AAA | 2.78— | 1.01— | 13.63AAA | Same color |
Shades
Shades and tints (50–950)
