PreviewingGo to this paletteOpen in generator
Code
/* Gentle Gray — colorset.net */
:root {
--color-1: #F8F9FA;
--color-2: #E9ECEF;
--color-3: #DEE2E6;
--color-4: #CED4DA;
--color-5: #ADB5BD;
--color-bg: #F8F9FA;
--color-surface: #EFF0F1;
--color-border: #D4D7DB;
--color-text: #4A5057;
--color-muted: #666D74;
--color-primary: #828A91;
--color-on-primary: #000000;
--color-accent: #52595E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1012;
--color-surface: #171A1C;
--color-border: #2A2E33;
--color-text: #F8F9FA;
--color-muted: #8B8C8D;
--color-primary: #ADB5BD;
--color-on-primary: #0D1012;
--color-accent: #DEE2E6;
--color-on-accent: #0D1012;
}
}
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 #ADB5BD |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #ADB5BD | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #ADB5BD | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #ADB5BD | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.99:1 | AA pass 4.5:1 | |
| Label on accent | 7.12:1 | AAA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 6.75:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.11:1 | AAA pass 4.5:1 | |
| Text on surface | 16.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.67:1 | AA pass 4.5:1 | |
| Label on primary | 9.20:1 | AAA pass 4.5:1 | |
| Label on accent | 14.66:1 | AAA pass 4.5:1 | |
| Primary on background | 9.20:1 | AAA pass 3:1 | |
| Accent on background | 14.66: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 | #F8F9FA (Text 1) | #E9ECEF (Text 2) | #DEE2E6 (Text 3) | #CED4DA (Text 4) | #ADB5BD (Text 5) |
|---|---|---|---|---|---|
| #F8F9FA | Same color | 1.12— | 1.24— | 1.42— | 1.97— |
| #E9ECEF | 1.12— | Same color | 1.10— | 1.26— | 1.75— |
| #DEE2E6 | 1.24— | 1.10— | Same color | 1.15— | 1.59— |
| #CED4DA | 1.42— | 1.26— | 1.15— | Same color | 1.39— |
| #ADB5BD | 1.97— | 1.75— | 1.59— | 1.39— | Same color |
Shades
Shades and tints (50–950)
