PreviewingGo to this paletteOpen in generator
Code
/* Cinder Gray — colorset.net */
:root {
--color-1: #666666;
--color-2: #707070;
--color-3: #7A7A7A;
--color-4: #848484;
--color-5: #8E8E8E;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #4D4D4D;
--color-muted: #6A6A6A;
--color-primary: #7A7A7A;
--color-on-primary: #000000;
--color-accent: #666666;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #A6A6A6;
--color-muted: #818181;
--color-primary: #7A7A7A;
--color-on-primary: #000000;
--color-accent: #666666;
--color-on-accent: #FFFFFF;
}
}
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 | adjusted for contrast · from #8E8E8E | adjusted for contrast · from #666666 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #666666 | adjusted for contrast · from #8E8E8E |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.89:1 | AA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 4.01:1 | AA Large pass 3:1 | |
| Accent on background | 5.36:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.87:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.89:1 | AA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 4.47:1 | AA Large pass 3:1 | |
| Accent on background | 3.34:1 | AA Large 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 | #666666 (Text 1) | #707070 (Text 2) | #7A7A7A (Text 3) | #848484 (Text 4) | #8E8E8E (Text 5) |
|---|---|---|---|---|---|
| #666666 | Same color | 1.16— | 1.34— | 1.54— | 1.75— |
| #707070 | 1.16— | Same color | 1.15— | 1.32— | 1.51— |
| #7A7A7A | 1.34— | 1.15— | Same color | 1.15— | 1.31— |
| #848484 | 1.54— | 1.32— | 1.15— | Same color | 1.14— |
| #8E8E8E | 1.75— | 1.51— | 1.31— | 1.14— | Same color |
Shades
Shades and tints (50–950)
