PreviewingGo to this paletteOpen in generator
Code
/* Ocean Coral — colorset.net */
:root {
--color-1: #06D6A0;
--color-2: #118AB2;
--color-3: #073B4C;
--color-4: #FFD166;
--color-5: #EF476F;
--color-bg: #FDF6E8;
--color-surface: #F3EDDF;
--color-border: #DCD4C3;
--color-text: #073B4C;
--color-muted: #506E7B;
--color-primary: #D9305E;
--color-on-primary: #FFFFFF;
--color-accent: #008562;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #041117;
--color-surface: #0D1C22;
--color-border: #1E3139;
--color-text: #E6D6B3;
--color-muted: #8E8269;
--color-primary: #D9305E;
--color-on-primary: #FFFFFF;
--color-accent: #06D6A0;
--color-on-accent: #041117;
}
}
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 | adjusted for contrast · from #FFD166 | adjusted for contrast · from #073B4C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 3 | adjusted for contrast · from #FFD166 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #EF476F | adjusted for contrast · from #EF476F |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #118AB2 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.23:1 | AAA pass 4.5:1 | |
| Text on surface | 10.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 4.63:1 | AA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 4.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.33:1 | AAA pass 4.5:1 | |
| Text on surface | 12.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 10.14:1 | AAA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 10.14: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 | #06D6A0 (Text 1) | #118AB2 (Text 2) | #073B4C (Text 3) | #FFD166 (Text 4) | #EF476F (Text 5) |
|---|---|---|---|---|---|
| #06D6A0 | Same color | 2.10— | 6.40AA | 1.31— | 1.92— |
| #118AB2 | 2.10— | Same color | 3.05AA Large | 2.75— | 1.09— |
| #073B4C | 6.40AA | 3.05AA Large | Same color | 8.38AAA | 3.34AA Large |
| #FFD166 | 1.31— | 2.75— | 8.38AAA | Same color | 2.51— |
| #EF476F | 1.92— | 1.09— | 3.34AA Large | 2.51— | Same color |
Shades
Shades and tints (50–950)
