PreviewingGo to this paletteOpen in generator
Code
/* Powder Gray — colorset.net */
:root {
--color-1: #F5F5F5;
--color-2: #EEEEEE;
--color-3: #E8E8E8;
--color-4: #E0E0E0;
--color-5: #D8D8D8;
--color-bg: #F5F5F5;
--color-surface: #FCFCFC;
--color-border: #DFDBDC;
--color-text: #535353;
--color-muted: #707070;
--color-primary: #8D8D8D;
--color-on-primary: #000000;
--color-accent: #5C5C5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #F5F5F5;
--color-muted: #8A8A8A;
--color-primary: #D8D8D8;
--color-on-primary: #0F0F0F;
--color-accent: #A2A2A2;
--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 #D8D8D8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D8D8D8 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D8D8D8 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D8D8D8 | adjusted for contrast · from #D8D8D8 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.06:1 | AAA pass 4.5:1 | |
| Text on surface | 7.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.54:1 | AA pass 4.5:1 | |
| Label on primary | 6.33:1 | AA pass 4.5:1 | |
| Label on accent | 6.69:1 | AA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 6.13:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.58:1 | AAA pass 4.5:1 | |
| Text on surface | 16.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.55:1 | AA pass 4.5:1 | |
| Label on primary | 13.45:1 | AAA pass 4.5:1 | |
| Label on accent | 7.51:1 | AAA pass 4.5:1 | |
| Primary on background | 13.45:1 | AAA pass 3:1 | |
| Accent on background | 7.51: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 | #F5F5F5 (Text 1) | #EEEEEE (Text 2) | #E8E8E8 (Text 3) | #E0E0E0 (Text 4) | #D8D8D8 (Text 5) |
|---|---|---|---|---|---|
| #F5F5F5 | Same color | 1.06— | 1.12— | 1.21— | 1.31— |
| #EEEEEE | 1.06— | Same color | 1.06— | 1.14— | 1.23— |
| #E8E8E8 | 1.12— | 1.06— | Same color | 1.08— | 1.16— |
| #E0E0E0 | 1.21— | 1.14— | 1.08— | Same color | 1.08— |
| #D8D8D8 | 1.31— | 1.23— | 1.16— | 1.08— | Same color |
Shades
Shades and tints (50–950)
