PreviewingGo to this paletteOpen in generator
Code
/* Glitch Lagoon — colorset.net */
:root {
--color-1: #001617;
--color-2: #12E0D8;
--color-3: #E356A2;
--color-4: #004046;
--color-5: #E7F1F0;
--color-bg: #E7F1F0;
--color-surface: #F1F7F7;
--color-border: #CBD9D8;
--color-text: #001617;
--color-muted: #506A6B;
--color-primary: #CA3F8D;
--color-on-primary: #FFFFFF;
--color-accent: #009A94;
--color-on-accent: #001617;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #001617;
--color-surface: #072121;
--color-border: #183637;
--color-text: #E7F1F0;
--color-muted: #818B8A;
--color-primary: #E356A2;
--color-on-primary: #001617;
--color-accent: #12E0D8;
--color-on-accent: #001617;
}
}
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 #E356A2 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #12E0D8 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.18:1 | AAA pass 4.5:1 | |
| Text on surface | 17.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 5.37:1 | AA pass 4.5:1 | |
| Primary on background | 3.96:1 | AA Large pass 3:1 | |
| Accent on background | 3.01:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.18:1 | AAA pass 4.5:1 | |
| Text on surface | 14.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 5.43:1 | AA pass 4.5:1 | |
| Label on accent | 11.25:1 | AAA pass 4.5:1 | |
| Primary on background | 5.43:1 | AA pass 3:1 | |
| Accent on background | 11.25: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 | #001617 (Text 1) | #12E0D8 (Text 2) | #E356A2 (Text 3) | #004046 (Text 4) | #E7F1F0 (Text 5) |
|---|---|---|---|---|---|
| #001617 | Same color | 11.25AAA | 5.43AA | 1.62— | 16.18AAA |
| #12E0D8 | 11.25AAA | Same color | 2.07— | 6.96AA | 1.44— |
| #E356A2 | 5.43AA | 2.07— | Same color | 3.36AA Large | 2.98— |
| #004046 | 1.62— | 6.96AA | 3.36AA Large | Same color | 10.01AAA |
| #E7F1F0 | 16.18AAA | 1.44— | 2.98— | 10.01AAA | Same color |
Shades
Shades and tints (50–950)
