PreviewingGo to this paletteOpen in generator
Code
/* Brushed Aluminum — colorset.net */
:root {
--color-1: #8C8C8C;
--color-2: #A3A3A3;
--color-3: #BABABA;
--color-4: #D1D1D1;
--color-5: #757575;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #4E4E4E;
--color-muted: #6A6A6A;
--color-primary: #757575;
--color-on-primary: #FFFFFF;
--color-accent: #888888;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #D1D1D1;
--color-muted: #838383;
--color-primary: #757575;
--color-on-primary: #FFFFFF;
--color-accent: #BABABA;
--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 | adjusted for contrast · from #D1D1D1 | adjusted for contrast · from #757575 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #757575 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8C8C8C | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.55:1 | AAA pass 4.5:1 | |
| Text on surface | 11.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 9.88:1 | AAA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 9.88: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 | #8C8C8C (Text 1) | #A3A3A3 (Text 2) | #BABABA (Text 3) | #D1D1D1 (Text 4) | #757575 (Text 5) |
|---|---|---|---|---|---|
| #8C8C8C | Same color | 1.33— | 1.73— | 2.20— | 1.37— |
| #A3A3A3 | 1.33— | Same color | 1.30— | 1.65— | 1.83— |
| #BABABA | 1.73— | 1.30— | Same color | 1.27— | 2.37— |
| #D1D1D1 | 2.20— | 1.65— | 1.27— | Same color | 3.02AA Large |
| #757575 | 1.37— | 1.83— | 2.37— | 3.02AA Large | Same color |
Shades
Shades and tints (50–950)
