PreviewingGo to this paletteOpen in generator
Code
/* Coral Petticoat — colorset.net */
:root {
--color-1: #FF7F50;
--color-2: #FFA07A;
--color-3: #FFCCCB;
--color-4: #FFE4E1;
--color-5: #FFF0F5;
--color-bg: #FFF0F5;
--color-surface: #FFFAFC;
--color-border: #E9D6DC;
--color-text: #7D412B;
--color-muted: #85695F;
--color-primary: #E36536;
--color-on-primary: #000000;
--color-accent: #95878C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0A04;
--color-surface: #27140D;
--color-border: #3F271E;
--color-text: #FFF0F5;
--color-muted: #93868A;
--color-primary: #FF7F50;
--color-on-primary: #1C0A04;
--color-accent: #FFCCCB;
--color-on-accent: #1C0A04;
}
}
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 5 | adjusted for contrast · from #FF7F50 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF7F50 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF7F50 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF7F50 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.15:1 | AAA pass 4.5:1 | |
| Text on surface | 7.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.55:1 | AA pass 4.5:1 | |
| Label on primary | 6.18:1 | AA pass 4.5:1 | |
| Label on accent | 6.12:1 | AA pass 4.5:1 | |
| Primary on background | 3.08:1 | AA Large pass 3:1 | |
| Accent on background | 3.11:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.39:1 | AAA pass 4.5:1 | |
| Text on surface | 15.97:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.50:1 | AA pass 4.5:1 | |
| Label on primary | 7.68:1 | AAA pass 4.5:1 | |
| Label on accent | 13.48:1 | AAA pass 4.5:1 | |
| Primary on background | 7.68:1 | AAA pass 3:1 | |
| Accent on background | 13.48: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 | #FF7F50 (Text 1) | #FFA07A (Text 2) | #FFCCCB (Text 3) | #FFE4E1 (Text 4) | #FFF0F5 (Text 5) |
|---|---|---|---|---|---|
| #FF7F50 | Same color | 1.26— | 1.76— | 2.07— | 2.27— |
| #FFA07A | 1.26— | Same color | 1.40— | 1.65— | 1.80— |
| #FFCCCB | 1.76— | 1.40— | Same color | 1.18— | 1.29— |
| #FFE4E1 | 2.07— | 1.65— | 1.18— | Same color | 1.09— |
| #FFF0F5 | 2.27— | 1.80— | 1.29— | 1.09— | Same color |
Shades
Shades and tints (50–950)
