PreviewingGo to this paletteOpen in generator
Code
/* Snowdrift Gray — colorset.net */
:root {
--color-1: #FFFAFA;
--color-2: #F8F8FF;
--color-3: #F5F5F5;
--color-4: #F0F0F0;
--color-5: #EBEBEB;
--color-bg: #FFFAFA;
--color-surface: #F6F1F1;
--color-border: #E0D7D7;
--color-text: #505050;
--color-muted: #6D6D6D;
--color-primary: #8C8C8C;
--color-on-primary: #000000;
--color-accent: #5B5B5B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #FFFAFA;
--color-muted: #918C8C;
--color-primary: #EBEBEB;
--color-on-primary: #0F0F0F;
--color-accent: #B4B4B4;
--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 #EBEBEB |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #EBEBEB | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #EBEBEB | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #EBEBEB | adjusted for contrast · from #EBEBEB |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 6.25:1 | AA pass 4.5:1 | |
| Label on accent | 6.79:1 | AA pass 4.5:1 | |
| Primary on background | 3.25:1 | AA Large pass 3:1 | |
| Accent on background | 6.57:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.54:1 | AAA pass 4.5:1 | |
| Text on surface | 17.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.78:1 | AA pass 4.5:1 | |
| Label on primary | 16.08:1 | AAA pass 4.5:1 | |
| Label on accent | 9.24:1 | AAA pass 4.5:1 | |
| Primary on background | 16.08:1 | AAA pass 3:1 | |
| Accent on background | 9.24: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 | #FFFAFA (Text 1) | #F8F8FF (Text 2) | #F5F5F5 (Text 3) | #F0F0F0 (Text 4) | #EBEBEB (Text 5) |
|---|---|---|---|---|---|
| #FFFAFA | Same color | 1.02— | 1.05— | 1.10— | 1.15— |
| #F8F8FF | 1.02— | Same color | 1.03— | 1.08— | 1.13— |
| #F5F5F5 | 1.05— | 1.03— | Same color | 1.05— | 1.09— |
| #F0F0F0 | 1.10— | 1.08— | 1.05— | Same color | 1.05— |
| #EBEBEB | 1.15— | 1.13— | 1.09— | 1.05— | Same color |
Shades
Shades and tints (50–950)
