PreviewingGo to this paletteOpen in generator
Code
/* Coral Reef Dive — colorset.net */
:root {
--color-1: #06283D;
--color-2: #1B98A6;
--color-3: #FF6B6B;
--color-4: #FFD166;
--color-5: #EAF6F6;
--color-bg: #EAF6F6;
--color-surface: #F5FCFC;
--color-border: #CEDEDE;
--color-text: #06283D;
--color-muted: #5A7284;
--color-primary: #ED5B5C;
--color-on-primary: #06283D;
--color-accent: #1B98A6;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071118;
--color-surface: #101B23;
--color-border: #22303A;
--color-text: #EAF6F6;
--color-muted: #818C8C;
--color-primary: #FF6B6B;
--color-on-primary: #071118;
--color-accent: #1B98A6;
--color-on-accent: #071118;
}
}
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 | adjusted for contrast · from #06283D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF6B6B | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.79:1 | AAA pass 4.5:1 | |
| Text on surface | 14.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.55:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 6.09:1 | AA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 3.12:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.25:1 | AAA pass 4.5:1 | |
| Text on surface | 15.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.50:1 | AA pass 4.5:1 | |
| Label on primary | 6.86:1 | AA pass 4.5:1 | |
| Label on accent | 5.52:1 | AA pass 4.5:1 | |
| Primary on background | 6.86:1 | AA pass 3:1 | |
| Accent on background | 5.52: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 | #06283D (Text 1) | #1B98A6 (Text 2) | #FF6B6B (Text 3) | #FFD166 (Text 4) | #EAF6F6 (Text 5) |
|---|---|---|---|---|---|
| #06283D | Same color | 4.42AA Large | 5.49AA | 10.56AAA | 13.79AAA |
| #1B98A6 | 4.42AA Large | Same color | 1.24— | 2.39— | 3.12AA Large |
| #FF6B6B | 5.49AA | 1.24— | Same color | 1.92— | 2.51— |
| #FFD166 | 10.56AAA | 2.39— | 1.92— | Same color | 1.31— |
| #EAF6F6 | 13.79AAA | 3.12AA Large | 2.51— | 1.31— | Same color |
Shades
Shades and tints (50–950)
