PreviewingGo to this paletteOpen in generator
Code
/* Coral Horizon — colorset.net */
:root {
--color-1: #FFF0EA;
--color-2: #E8604C;
--color-3: #3F5F8A;
--color-4: #F6B9A2;
--color-5: #22253A;
--color-bg: #FFF0EA;
--color-surface: #FFFAF7;
--color-border: #E9D6CF;
--color-text: #22253A;
--color-muted: #696E87;
--color-primary: #E8604C;
--color-on-primary: #000000;
--color-accent: #3F5F8A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0F16;
--color-surface: #171921;
--color-border: #2B2D38;
--color-text: #FFF0EA;
--color-muted: #948681;
--color-primary: #E8604C;
--color-on-primary: #0E0F16;
--color-accent: #476893;
--color-on-accent: #FFFFFF;
}
}
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 | adjusted for contrast · from #22253A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #3F5F8A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.56:1 | AAA pass 4.5:1 | |
| Text on surface | 14.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.52:1 | AA pass 4.5:1 | |
| Label on primary | 6.21:1 | AA pass 4.5:1 | |
| Label on accent | 6.53:1 | AA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 5.88:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.21:1 | AAA pass 4.5:1 | |
| Text on surface | 15.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.45:1 | AA pass 4.5:1 | |
| Label on primary | 5.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 5.65:1 | AA pass 3:1 | |
| Accent on background | 3.34:1 | AA Large 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 | #FFF0EA (Text 1) | #E8604C (Text 2) | #3F5F8A (Text 3) | #F6B9A2 (Text 4) | #22253A (Text 5) |
|---|---|---|---|---|---|
| #FFF0EA | Same color | 3.04AA Large | 5.88AA | 1.53— | 13.56AAA |
| #E8604C | 3.04AA Large | Same color | 1.93— | 1.99— | 4.45AA Large |
| #3F5F8A | 5.88AA | 1.93— | Same color | 3.85AA Large | 2.31— |
| #F6B9A2 | 1.53— | 1.99— | 3.85AA Large | Same color | 8.88AAA |
| #22253A | 13.56AAA | 4.45AA Large | 2.31— | 8.88AAA | Same color |
Shades
Shades and tints (50–950)
