PreviewingGo to this paletteOpen in generator
Code
/* Pewter Frost — colorset.net */
:root {
--color-1: #F8F8FF;
--color-2: #F5F5F5;
--color-3: #2F4F4F;
--color-4: #696969;
--color-5: #A9A9A9;
--color-bg: #F8F8FF;
--color-surface: #EFEFF6;
--color-border: #D6D6E0;
--color-text: #2F4F4F;
--color-muted: #517272;
--color-primary: #2F4F4F;
--color-on-primary: #FFFFFF;
--color-accent: #89898F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071111;
--color-surface: #111C1C;
--color-border: #223131;
--color-text: #F8F8FF;
--color-muted: #8C8C92;
--color-primary: #4D6E6E;
--color-on-primary: #FFFFFF;
--color-accent: #A9A9A9;
--color-on-accent: #071111;
}
}
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 1 | adjusted for contrast · from #2F4F4F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 3 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | adjusted for contrast · from #696969 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A9A9A9 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.44:1 | AAA pass 4.5:1 | |
| Text on surface | 7.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 8.93:1 | AAA pass 4.5:1 | |
| Label on accent | 6.04:1 | AA pass 4.5:1 | |
| Primary on background | 8.44:1 | AAA pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.10:1 | AAA pass 4.5:1 | |
| Text on surface | 16.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.72:1 | AA pass 4.5:1 | |
| Label on primary | 5.57:1 | AA pass 4.5:1 | |
| Label on accent | 8.14:1 | AAA pass 4.5:1 | |
| Primary on background | 3.44:1 | AA Large pass 3:1 | |
| Accent on background | 8.14: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 | #F8F8FF (Text 1) | #F5F5F5 (Text 2) | #2F4F4F (Text 3) | #696969 (Text 4) | #A9A9A9 (Text 5) |
|---|---|---|---|---|---|
| #F8F8FF | Same color | 1.03— | 8.44AAA | 5.19AA | 2.22— |
| #F5F5F5 | 1.03— | Same color | 8.19AAA | 5.04AA | 2.16— |
| #2F4F4F | 8.44AAA | 8.19AAA | Same color | 1.63— | 3.80AA Large |
| #696969 | 5.19AA | 5.04AA | 1.63— | Same color | 2.34— |
| #A9A9A9 | 2.22— | 2.16— | 3.80AA Large | 2.34— | Same color |
Shades
Shades and tints (50–950)
