PreviewingGo to this paletteOpen in generator
Code
/* Peach Haze — colorset.net */
:root {
--color-1: #FFF2EC;
--color-2: #F08A6C;
--color-3: #7C6FB0;
--color-4: #FBD2C2;
--color-5: #2C2638;
--color-bg: #FFF2EC;
--color-surface: #FFFBFA;
--color-border: #E9D8D1;
--color-text: #2C2638;
--color-muted: #726B80;
--color-primary: #796CAD;
--color-on-primary: #FFFFFF;
--color-accent: #D47154;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100E14;
--color-surface: #1A181F;
--color-border: #2F2C36;
--color-text: #FFF2EC;
--color-muted: #938882;
--color-primary: #796CAD;
--color-on-primary: #FFFFFF;
--color-accent: #F08A6C;
--color-on-accent: #100E14;
}
}
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 | adjusted for contrast · from #2C2638 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #7C6FB0 | adjusted for contrast · from #7C6FB0 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F08A6C | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.30:1 | AAA pass 4.5:1 | |
| Text on surface | 14.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 6.29:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.50:1 | AAA pass 4.5:1 | |
| Text on surface | 16.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.56:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 7.81:1 | AAA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 7.81: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 | #FFF2EC (Text 1) | #F08A6C (Text 2) | #7C6FB0 (Text 3) | #FBD2C2 (Text 4) | #2C2638 (Text 5) |
|---|---|---|---|---|---|
| #FFF2EC | Same color | 2.24— | 4.03AA Large | 1.27— | 13.30AAA |
| #F08A6C | 2.24— | Same color | 1.80— | 1.76— | 5.94AA |
| #7C6FB0 | 4.03AA Large | 1.80— | Same color | 3.17AA Large | 3.30AA Large |
| #FBD2C2 | 1.27— | 1.76— | 3.17AA Large | Same color | 10.48AAA |
| #2C2638 | 13.30AAA | 5.94AA | 3.30AA Large | 10.48AAA | Same color |
Shades
Shades and tints (50–950)
