PreviewingGo to this paletteOpen in generator
Code
/* Coral Reef Red — colorset.net */
:root {
--color-1: #E94B3C;
--color-2: #F25C54;
--color-3: #FF6B6B;
--color-4: #FF8787;
--color-5: #FFA5A5;
--color-bg: #FFF4F3;
--color-surface: #FBE9E8;
--color-border: #E5CFCE;
--color-text: #7A3B33;
--color-muted: #82645F;
--color-primary: #D7392C;
--color-on-primary: #FFFFFF;
--color-accent: #AE5C5E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #E0B5B4;
--color-muted: #9B7B7A;
--color-primary: #D7392C;
--color-on-primary: #FFFFFF;
--color-accent: #FFA5A5;
--color-on-accent: #1C0907;
}
}
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 #FFA5A5 | adjusted for contrast · from #E94B3C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E94B3C | adjusted for contrast · from #FFA5A5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E94B3C | adjusted for contrast · from #E94B3C |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E94B3C | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 4.67:1 | AA pass 4.5:1 | |
| Primary on background | 4.32:1 | AA Large pass 3:1 | |
| Accent on background | 4.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.48:1 | AAA pass 4.5:1 | |
| Text on surface | 9.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 10.24:1 | AAA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 10.24: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 | #E94B3C (Text 1) | #F25C54 (Text 2) | #FF6B6B (Text 3) | #FF8787 (Text 4) | #FFA5A5 (Text 5) |
|---|---|---|---|---|---|
| #E94B3C | Same color | 1.16— | 1.37— | 1.64— | 2.02— |
| #F25C54 | 1.16— | Same color | 1.18— | 1.41— | 1.74— |
| #FF6B6B | 1.37— | 1.18— | Same color | 1.20— | 1.48— |
| #FF8787 | 1.64— | 1.41— | 1.20— | Same color | 1.23— |
| #FFA5A5 | 2.02— | 1.74— | 1.48— | 1.23— | Same color |
Shades
Shades and tints (50–950)
