PreviewingGo to this paletteOpen in generator
Code
/* Platinum Grey — colorset.net */
:root {
--color-1: #E5E4E2;
--color-2: #EAEAE8;
--color-3: #EFEEEE;
--color-4: #F4F4F4;
--color-5: #F9F9FA;
--color-bg: #F9F9FA;
--color-surface: #F0F0F1;
--color-border: #D7D7DB;
--color-text: #504F4E;
--color-muted: #6D6C6A;
--color-primary: #8A8987;
--color-on-primary: #000000;
--color-accent: #595856;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F0F;
--color-surface: #1A1919;
--color-border: #2F2E2A;
--color-text: #F9F9FA;
--color-muted: #8C8C8D;
--color-primary: #E5E4E2;
--color-on-primary: #100F0F;
--color-accent: #AEADAC;
--color-on-accent: #100F0F;
}
}
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 | from palette · color 5 | adjusted for contrast · from #E5E4E2 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E5E4E2 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E5E4E2 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E5E4E2 | adjusted for contrast · from #E5E4E2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 6.01:1 | AA pass 4.5:1 | |
| Label on accent | 7.11:1 | AAA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 6.75:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.19:1 | AAA pass 4.5:1 | |
| Text on surface | 16.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.70:1 | AA pass 4.5:1 | |
| Label on primary | 15.06:1 | AAA pass 4.5:1 | |
| Label on accent | 8.54:1 | AAA pass 4.5:1 | |
| Primary on background | 15.06:1 | AAA pass 3:1 | |
| Accent on background | 8.54: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) | #EAEAE8 (Text 2) | #EFEEEE (Text 3) | #F4F4F4 (Text 4) | #F9F9FA (Text 5) |
|---|---|---|---|---|---|
| #E5E4E2 | Same color | 1.05— | 1.10— | 1.16— | 1.21— |
| #EAEAE8 | 1.05— | Same color | 1.04— | 1.10— | 1.14— |
| #EFEEEE | 1.10— | 1.04— | Same color | 1.05— | 1.10— |
| #F4F4F4 | 1.16— | 1.10— | 1.05— | Same color | 1.05— |
| #F9F9FA | 1.21— | 1.14— | 1.10— | 1.05— | Same color |
Shades
Shades and tints (50–950)
