PreviewingGo to this paletteOpen in generator
Code
/* Coastal Vows — colorset.net */
:root {
--color-1: #F5F8F8;
--color-2: #2C6E8F;
--color-3: #E8A598;
--color-4: #CFE0E6;
--color-5: #172531;
--color-bg: #F5F8F8;
--color-surface: #ECEFEF;
--color-border: #D0D7D7;
--color-text: #172531;
--color-muted: #5E6E7C;
--color-primary: #2C6E8F;
--color-on-primary: #FFFFFF;
--color-accent: #A3655A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #172531;
--color-surface: #22303D;
--color-border: #354756;
--color-text: #F5F8F8;
--color-muted: #949797;
--color-primary: #3F80A2;
--color-on-primary: #000000;
--color-accent: #E8A598;
--color-on-accent: #172531;
}
}
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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #2C6E8F |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2C6E8F | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.62:1 | AAA pass 4.5:1 | |
| Text on surface | 13.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 4.60:1 | AA pass 4.5:1 | |
| Primary on background | 5.27:1 | AA pass 3:1 | |
| Accent on background | 4.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.62:1 | AAA pass 4.5:1 | |
| Text on surface | 12.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 4.82:1 | AA pass 4.5:1 | |
| Label on accent | 7.63:1 | AAA pass 4.5:1 | |
| Primary on background | 3.58:1 | AA Large pass 3:1 | |
| Accent on background | 7.63: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 | #F5F8F8 (Text 1) | #2C6E8F (Text 2) | #E8A598 (Text 3) | #CFE0E6 (Text 4) | #172531 (Text 5) |
|---|---|---|---|---|---|
| #F5F8F8 | Same color | 5.27AA | 1.92— | 1.27— | 14.62AAA |
| #2C6E8F | 5.27AA | Same color | 2.75— | 4.14AA Large | 2.78— |
| #E8A598 | 1.92— | 2.75— | Same color | 1.51— | 7.63AAA |
| #CFE0E6 | 1.27— | 4.14AA Large | 1.51— | Same color | 11.49AAA |
| #172531 | 14.62AAA | 2.78— | 7.63AAA | 11.49AAA | Same color |
Shades
Shades and tints (50–950)
