PreviewingGo to this paletteOpen in generator
Code
/* Industrial Grey — colorset.net */
:root {
--color-1: #3C3C3C;
--color-2: #505050;
--color-3: #646464;
--color-4: #787878;
--color-5: #8C8C8C;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #3C3C3C;
--color-muted: #6B6B6B;
--color-primary: #787878;
--color-on-primary: #000000;
--color-accent: #505050;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #A4A4A4;
--color-muted: #838383;
--color-primary: #787878;
--color-on-primary: #000000;
--color-accent: #656565;
--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 #8C8C8C | adjusted for contrast · from #3C3C3C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #8C8C8C |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #646464 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.30:1 | AAA pass 4.5:1 | |
| Text on surface | 9.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.76:1 | AA pass 4.5:1 | |
| Label on accent | 8.06:1 | AAA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 7.53:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.69:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.76:1 | AA pass 4.5:1 | |
| Label on accent | 5.83:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 3.29: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 | #3C3C3C (Text 1) | #505050 (Text 2) | #646464 (Text 3) | #787878 (Text 4) | #8C8C8C (Text 5) |
|---|---|---|---|---|---|
| #3C3C3C | Same color | 1.37— | 1.86— | 2.50— | 3.28AA Large |
| #505050 | 1.37— | Same color | 1.36— | 1.83— | 2.40— |
| #646464 | 1.86— | 1.36— | Same color | 1.34— | 1.76— |
| #787878 | 2.50— | 1.83— | 1.34— | Same color | 1.31— |
| #8C8C8C | 3.28AA Large | 2.40— | 1.76— | 1.31— | Same color |
Shades
Shades and tints (50–950)
