PreviewingGo to this paletteOpen in generator
Code
/* Storm Swell — colorset.net */
:root {
--color-1: #18232B;
--color-2: #7FA7B8;
--color-3: #E2775A;
--color-4: #34444F;
--color-5: #ECF0F2;
--color-bg: #ECF0F2;
--color-surface: #F5F7F8;
--color-border: #D0D8DC;
--color-text: #18232B;
--color-muted: #626F79;
--color-primary: #D46B4E;
--color-on-primary: #18232B;
--color-accent: #678E9F;
--color-on-accent: #18232B;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #18232B;
--color-surface: #232E36;
--color-border: #36444F;
--color-text: #ECF0F2;
--color-muted: #919597;
--color-primary: #E2775A;
--color-on-primary: #18232B;
--color-accent: #7FA7B8;
--color-on-accent: #18232B;
}
}
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 #E2775A | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7FA7B8 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.94:1 | AAA pass 4.5:1 | |
| Text on surface | 14.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.50:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 3.05:1 | AA Large pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.94:1 | AAA pass 4.5:1 | |
| Text on surface | 12.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.29:1 | AA pass 4.5:1 | |
| Label on primary | 5.34:1 | AA pass 4.5:1 | |
| Label on accent | 6.18:1 | AA pass 4.5:1 | |
| Primary on background | 5.34:1 | AA pass 3:1 | |
| Accent on background | 6.18:1 | AA 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 | #18232B (Text 1) | #7FA7B8 (Text 2) | #E2775A (Text 3) | #34444F (Text 4) | #ECF0F2 (Text 5) |
|---|---|---|---|---|---|
| #18232B | Same color | 6.18AA | 5.34AA | 1.59— | 13.94AAA |
| #7FA7B8 | 6.18AA | Same color | 1.16— | 3.89AA Large | 2.25— |
| #E2775A | 5.34AA | 1.16— | Same color | 3.37AA Large | 2.61— |
| #34444F | 1.59— | 3.89AA Large | 3.37AA Large | Same color | 8.78AAA |
| #ECF0F2 | 13.94AAA | 2.25— | 2.61— | 8.78AAA | Same color |
Shades
Shades and tints (50–950)
