PreviewingGo to this paletteOpen in generator
Code
/* Lagoon Night — colorset.net */
:root {
--color-1: #0F1A24;
--color-2: #2FD3C6;
--color-3: #FF6F91;
--color-4: #23384A;
--color-5: #EAF4F6;
--color-bg: #EAF4F6;
--color-surface: #F4FAFC;
--color-border: #CEDCDF;
--color-text: #0F1A24;
--color-muted: #5F6D79;
--color-primary: #E6587C;
--color-on-primary: #0F1A24;
--color-accent: #009C92;
--color-on-accent: #0F1A24;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F1A24;
--color-surface: #19252F;
--color-border: #2C3A48;
--color-text: #EAF4F6;
--color-muted: #879092;
--color-primary: #FF6F91;
--color-on-primary: #0F1A24;
--color-accent: #2FD3C6;
--color-on-accent: #0F1A24;
}
}
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 #FF6F91 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2FD3C6 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.73:1 | AAA pass 4.5:1 | |
| Text on surface | 16.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.75:1 | AA pass 4.5:1 | |
| Label on primary | 5.07:1 | AA pass 4.5:1 | |
| Label on accent | 5.17:1 | AA pass 4.5:1 | |
| Primary on background | 3.10:1 | AA Large pass 3:1 | |
| Accent on background | 3.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.73:1 | AAA pass 4.5:1 | |
| Text on surface | 13.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.39:1 | AA pass 4.5:1 | |
| Label on primary | 6.65:1 | AA pass 4.5:1 | |
| Label on accent | 9.43:1 | AAA pass 4.5:1 | |
| Primary on background | 6.65:1 | AA pass 3:1 | |
| Accent on background | 9.43: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 | #0F1A24 (Text 1) | #2FD3C6 (Text 2) | #FF6F91 (Text 3) | #23384A (Text 4) | #EAF4F6 (Text 5) |
|---|---|---|---|---|---|
| #0F1A24 | Same color | 9.43AAA | 6.65AA | 1.45— | 15.73AAA |
| #2FD3C6 | 9.43AAA | Same color | 1.42— | 6.48AA | 1.67— |
| #FF6F91 | 6.65AA | 1.42— | Same color | 4.57AA | 2.37— |
| #23384A | 1.45— | 6.48AA | 4.57AA | Same color | 10.81AAA |
| #EAF4F6 | 15.73AAA | 1.67— | 2.37— | 10.81AAA | Same color |
Shades
Shades and tints (50–950)
