PreviewingGo to this paletteOpen in generator
Code
/* Chalk Pastels — colorset.net */
:root {
--color-1: #FFE5E5;
--color-2: #E5F3FF;
--color-3: #F0E5FF;
--color-4: #E5FFE5;
--color-5: #FFF0E5;
--color-bg: #E5FFE5;
--color-surface: #DCF6DC;
--color-border: #C5DCC5;
--color-text: #544A60;
--color-muted: #70667D;
--color-primary: #8E839B;
--color-on-primary: #000000;
--color-accent: #778F78;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110E15;
--color-surface: #1B181F;
--color-border: #302B36;
--color-text: #E5FFE5;
--color-muted: #7C927D;
--color-primary: #F0E5FF;
--color-on-primary: #110E15;
--color-accent: #B8AFC4;
--color-on-accent: #110E15;
}
}
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 4 | adjusted for contrast · from #F0E5FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F0E5FF | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F0E5FF | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F0E5FF | adjusted for contrast · from #F0E5FF |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 5.87:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 3.37:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.01:1 | AAA pass 4.5:1 | |
| Text on surface | 16.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.71:1 | AA pass 4.5:1 | |
| Label on primary | 15.82:1 | AAA pass 4.5:1 | |
| Label on accent | 9.08:1 | AAA pass 4.5:1 | |
| Primary on background | 15.82:1 | AAA pass 3:1 | |
| Accent on background | 9.08: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 | #FFE5E5 (Text 1) | #E5F3FF (Text 2) | #F0E5FF (Text 3) | #E5FFE5 (Text 4) | #FFF0E5 (Text 5) |
|---|---|---|---|---|---|
| #FFE5E5 | Same color | 1.06— | 1.01— | 1.12— | 1.07— |
| #E5F3FF | 1.06— | Same color | 1.07— | 1.06— | 1.01— |
| #F0E5FF | 1.01— | 1.07— | Same color | 1.14— | 1.09— |
| #E5FFE5 | 1.12— | 1.06— | 1.14— | Same color | 1.05— |
| #FFF0E5 | 1.07— | 1.01— | 1.09— | 1.05— | Same color |
Shades
Shades and tints (50–950)
