PreviewingGo to this paletteOpen in generator
Code
/* Chalk Dust — colorset.net */
:root {
--color-1: #F8F8FF;
--color-2: #F5F5F5;
--color-3: #F0F0F0;
--color-4: #EBEBEB;
--color-5: #E6E6E6;
--color-bg: #F8F8FF;
--color-surface: #EFEFF6;
--color-border: #D6D6E0;
--color-text: #4E4E4E;
--color-muted: #6B6B6B;
--color-primary: #8A8A8A;
--color-on-primary: #000000;
--color-accent: #595959;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #F8F8FF;
--color-muted: #8C8C92;
--color-primary: #E6E6E6;
--color-on-primary: #0F0F0F;
--color-accent: #AFAFAF;
--color-on-accent: #0F0F0F;
}
}
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 #E6E6E6 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E6E6E6 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E6E6E6 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E6E6E6 | adjusted for contrast · from #E6E6E6 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.87:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 6.08:1 | AA pass 4.5:1 | |
| Label on accent | 7.00:1 | AAA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 6.63:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.13:1 | AAA pass 4.5:1 | |
| Text on surface | 16.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.73:1 | AA pass 4.5:1 | |
| Label on primary | 15.36:1 | AAA pass 4.5:1 | |
| Label on accent | 8.74:1 | AAA pass 4.5:1 | |
| Primary on background | 15.36:1 | AAA pass 3:1 | |
| Accent on background | 8.74: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 | #F8F8FF (Text 1) | #F5F5F5 (Text 2) | #F0F0F0 (Text 3) | #EBEBEB (Text 4) | #E6E6E6 (Text 5) |
|---|---|---|---|---|---|
| #F8F8FF | Same color | 1.03— | 1.08— | 1.13— | 1.18— |
| #F5F5F5 | 1.03— | Same color | 1.05— | 1.09— | 1.14— |
| #F0F0F0 | 1.08— | 1.05— | Same color | 1.05— | 1.10— |
| #EBEBEB | 1.13— | 1.09— | 1.05— | Same color | 1.05— |
| #E6E6E6 | 1.18— | 1.14— | 1.10— | 1.05— | Same color |
Shades
Shades and tints (50–950)
