PreviewingGo to this paletteOpen in generator
Code
/* Platinum Silver — colorset.net */
:root {
--color-1: #E5E4E2;
--color-2: #C9C0BB;
--color-3: #A8A8A8;
--color-4: #8C8C8C;
--color-5: #696969;
--color-bg: #F7F7F6;
--color-surface: #EEEDED;
--color-border: #D7D5D1;
--color-text: #4D4D4D;
--color-muted: #6A6A6A;
--color-primary: #696969;
--color-on-primary: #FFFFFF;
--color-accent: #878684;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #E5E4E2;
--color-muted: #82817F;
--color-primary: #696969;
--color-on-primary: #FFFFFF;
--color-accent: #C9C0BB;
--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 #E5E4E2 | adjusted for contrast · from #696969 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #696969 | from palette · color 1 |
| 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 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.49:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 5.12:1 | AA pass 3:1 | |
| Accent on background | 3.39:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.09:1 | AAA pass 4.5:1 | |
| Text on surface | 13.84:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 5.49:1 | AA pass 4.5:1 | |
| Label on accent | 10.72:1 | AAA pass 4.5:1 | |
| Primary on background | 3.49:1 | AA Large pass 3:1 | |
| Accent on background | 10.72: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 | #E5E4E2 (Text 1) | #C9C0BB (Text 2) | #A8A8A8 (Text 3) | #8C8C8C (Text 4) | #696969 (Text 5) |
|---|---|---|---|---|---|
| #E5E4E2 | Same color | 1.41— | 1.87— | 2.65— | 4.32AA Large |
| #C9C0BB | 1.41— | Same color | 1.33— | 1.88— | 3.07AA Large |
| #A8A8A8 | 1.87— | 1.33— | Same color | 1.41— | 2.31— |
| #8C8C8C | 2.65— | 1.88— | 1.41— | Same color | 1.63— |
| #696969 | 4.32AA Large | 3.07AA Large | 2.31— | 1.63— | Same color |
Shades
Shades and tints (50–950)
