PreviewingGo to this paletteOpen in generator
Code
/* Coral Light — colorset.net */
:root {
--color-1: #FF9988;
--color-2: #FFAA99;
--color-3: #FFBBAA;
--color-4: #FFCCBB;
--color-5: #FFDDCC;
--color-bg: #FFF4EF;
--color-surface: #F5EBE6;
--color-border: #E0D2CB;
--color-text: #7B3C32;
--color-muted: #82645F;
--color-primary: #B7584A;
--color-on-primary: #FFFFFF;
--color-accent: #A18273;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0906;
--color-surface: #281310;
--color-border: #402622;
--color-text: #FFDDCC;
--color-muted: #977B6D;
--color-primary: #FF9988;
--color-on-primary: #1C0906;
--color-accent: #FFBBAA;
--color-on-accent: #1C0906;
}
}
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 #FFDDCC | adjusted for contrast · from #FF9988 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF9988 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF9988 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF9988 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 5.96:1 | AA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.09:1 | AAA pass 4.5:1 | |
| Text on surface | 13.83:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 9.32:1 | AAA pass 4.5:1 | |
| Label on accent | 11.86:1 | AAA pass 4.5:1 | |
| Primary on background | 9.32:1 | AAA pass 3:1 | |
| Accent on background | 11.86: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 | #FF9988 (Text 1) | #FFAA99 (Text 2) | #FFBBAA (Text 3) | #FFCCBB (Text 4) | #FFDDCC (Text 5) |
|---|---|---|---|---|---|
| #FF9988 | Same color | 1.13— | 1.27— | 1.44— | 1.62— |
| #FFAA99 | 1.13— | Same color | 1.13— | 1.27— | 1.44— |
| #FFBBAA | 1.27— | 1.13— | Same color | 1.13— | 1.27— |
| #FFCCBB | 1.44— | 1.27— | 1.13— | Same color | 1.13— |
| #FFDDCC | 1.62— | 1.44— | 1.27— | 1.13— | Same color |
Shades
Shades and tints (50–950)
