PreviewingGo to this paletteOpen in generator
Code
/* Coral Course — colorset.net */
:root {
--color-1: #FFF6F3;
--color-2: #EA6C5A;
--color-3: #236682;
--color-4: #A34945;
--color-5: #32191A;
--color-bg: #FFF6F3;
--color-surface: #F6EDEA;
--color-border: #E0D3CF;
--color-text: #32191A;
--color-muted: #836465;
--color-primary: #DF6351;
--color-on-primary: #32191A;
--color-accent: #236682;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #32191A;
--color-surface: #3E2425;
--color-border: #55393A;
--color-text: #FFF6F3;
--color-muted: #9C9491;
--color-primary: #EA6C5A;
--color-on-primary: #32191A;
--color-accent: #3A7B97;
--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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #EA6C5A | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #236682 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.30:1 | AAA pass 4.5:1 | |
| Text on surface | 14.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 6.37:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 5.99:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.30:1 | AAA pass 4.5:1 | |
| Text on surface | 13.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.47:1 | AA pass 4.5:1 | |
| Label on primary | 5.27:1 | AA pass 4.5:1 | |
| Label on accent | 4.71:1 | AA pass 4.5:1 | |
| Primary on background | 5.27:1 | AA pass 3:1 | |
| Accent on background | 3.46: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 | #FFF6F3 (Text 1) | #EA6C5A (Text 2) | #236682 (Text 3) | #A34945 (Text 4) | #32191A (Text 5) |
|---|---|---|---|---|---|
| #FFF6F3 | Same color | 2.91— | 5.99AA | 5.49AA | 15.30AAA |
| #EA6C5A | 2.91— | Same color | 2.06— | 1.89— | 5.27AA |
| #236682 | 5.99AA | 2.06— | Same color | 1.09— | 2.55— |
| #A34945 | 5.49AA | 1.89— | 1.09— | Same color | 2.79— |
| #32191A | 15.30AAA | 5.27AA | 2.55— | 2.79— | Same color |
Shades
Shades and tints (50–950)
