PreviewingGo to this paletteOpen in generator
Code
/* Apricot Chantilly — colorset.net */
:root {
--color-1: #FDF4E7;
--color-2: #FFDAB7;
--color-3: #FFC1A0;
--color-4: #ECE6C0;
--color-5: #9DC4D8;
--color-bg: #FDF4E7;
--color-surface: #FFFCF8;
--color-border: #E6DBCB;
--color-text: #345769;
--color-muted: #587482;
--color-primary: #B98060;
--color-on-primary: #000000;
--color-accent: #6C92A5;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061117;
--color-surface: #101B21;
--color-border: #213038;
--color-text: #FDF4E7;
--color-muted: #91897D;
--color-primary: #FFC1A0;
--color-on-primary: #061117;
--color-accent: #9DC4D8;
--color-on-accent: #061117;
}
}
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 #9DC4D8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9DC4D8 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9DC4D8 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9DC4D8 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.10:1 | AAA pass 4.5:1 | |
| Text on surface | 7.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.55:1 | AA pass 4.5:1 | |
| Label on primary | 6.32:1 | AA pass 4.5:1 | |
| Label on accent | 6.29:1 | AA pass 4.5:1 | |
| Primary on background | 3.05:1 | AA Large pass 3:1 | |
| Accent on background | 3.06:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.51:1 | AAA pass 4.5:1 | |
| Text on surface | 16.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.52:1 | AA pass 4.5:1 | |
| Label on primary | 12.17:1 | AAA pass 4.5:1 | |
| Label on accent | 10.29:1 | AAA pass 4.5:1 | |
| Primary on background | 12.17:1 | AAA pass 3:1 | |
| Accent on background | 10.29: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 | #FDF4E7 (Text 1) | #FFDAB7 (Text 2) | #FFC1A0 (Text 3) | #ECE6C0 (Text 4) | #9DC4D8 (Text 5) |
|---|---|---|---|---|---|
| #FDF4E7 | Same color | 1.21— | 1.44— | 1.16— | 1.70— |
| #FFDAB7 | 1.21— | Same color | 1.19— | 1.04— | 1.41— |
| #FFC1A0 | 1.44— | 1.19— | Same color | 1.24— | 1.18— |
| #ECE6C0 | 1.16— | 1.04— | 1.24— | Same color | 1.47— |
| #9DC4D8 | 1.70— | 1.41— | 1.18— | 1.47— | Same color |
Shades
Shades and tints (50–950)
