PreviewingGo to this paletteOpen in generator
Code
/* Brushed Pewter — colorset.net */
:root {
--color-1: #565758;
--color-2: #707173;
--color-3: #8B8C8E;
--color-4: #A6A7A9;
--color-5: #C1C2C4;
--color-bg: #F6F7F7;
--color-surface: #EDEDEE;
--color-border: #D3D5D9;
--color-text: #4E4F50;
--color-muted: #6A6B6C;
--color-primary: #707173;
--color-on-primary: #FFFFFF;
--color-accent: #868789;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F10;
--color-surface: #19191A;
--color-border: #2C2E31;
--color-text: #C1C2C4;
--color-muted: #808183;
--color-primary: #707173;
--color-on-primary: #FFFFFF;
--color-accent: #A6A7A9;
--color-on-accent: #0F0F10;
}
}
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 #C1C2C4 | adjusted for contrast · from #565758 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #565758 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8B8C8E | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.89:1 | AA pass 4.5:1 | |
| Label on accent | 5.84:1 | AA pass 4.5:1 | |
| Primary on background | 4.55:1 | AA pass 3:1 | |
| Accent on background | 3.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.75:1 | AAA pass 4.5:1 | |
| Text on surface | 9.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 4.89:1 | AA pass 4.5:1 | |
| Label on accent | 7.96:1 | AAA pass 4.5:1 | |
| Primary on background | 3.92:1 | AA Large pass 3:1 | |
| Accent on background | 7.96: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 | #565758 (Text 1) | #707173 (Text 2) | #8B8C8E (Text 3) | #A6A7A9 (Text 4) | #C1C2C4 (Text 5) |
|---|---|---|---|---|---|
| #565758 | Same color | 1.48— | 2.15— | 3.01AA Large | 4.06AA Large |
| #707173 | 1.48— | Same color | 1.45— | 2.03— | 2.74— |
| #8B8C8E | 2.15— | 1.45— | Same color | 1.40— | 1.89— |
| #A6A7A9 | 3.01AA Large | 2.03— | 1.40— | Same color | 1.35— |
| #C1C2C4 | 4.06AA Large | 2.74— | 1.89— | 1.35— | Same color |
Shades
Shades and tints (50–950)
