PreviewingGo to this paletteOpen in generator
Code
/* Coral Candy — colorset.net */
:root {
--color-1: #FF4040;
--color-2: #FF6B6B;
--color-3: #FF7F7F;
--color-4: #FF9999;
--color-5: #FFB3B3;
--color-bg: #FFF4F3;
--color-surface: #FBE9E8;
--color-border: #E5CFCE;
--color-text: #7A3A35;
--color-muted: #81635F;
--color-primary: #E51E29;
--color-on-primary: #FFFFFF;
--color-accent: #BC7576;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281311;
--color-border: #402623;
--color-text: #E9BEBD;
--color-muted: #997979;
--color-primary: #FF4040;
--color-on-primary: #1C0907;
--color-accent: #FF9999;
--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 #FFB3B3 | adjusted for contrast · from #FF4040 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF4040 | adjusted for contrast · from #FFB3B3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF4040 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF6B6B | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.94:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.51:1 | AAA pass 4.5:1 | |
| Text on surface | 10.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 5.55:1 | AA pass 4.5:1 | |
| Label on accent | 9.41:1 | AAA pass 4.5:1 | |
| Primary on background | 5.55:1 | AA pass 3:1 | |
| Accent on background | 9.41: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 | #FF4040 (Text 1) | #FF6B6B (Text 2) | #FF7F7F (Text 3) | #FF9999 (Text 4) | #FFB3B3 (Text 5) |
|---|---|---|---|---|---|
| #FF4040 | Same color | 1.25— | 1.42— | 1.69— | 2.04— |
| #FF6B6B | 1.25— | Same color | 1.14— | 1.36— | 1.63— |
| #FF7F7F | 1.42— | 1.14— | Same color | 1.19— | 1.44— |
| #FF9999 | 1.69— | 1.36— | 1.19— | Same color | 1.20— |
| #FFB3B3 | 2.04— | 1.63— | 1.44— | 1.20— | Same color |
Shades
Shades and tints (50–950)
