PreviewingGo to this paletteOpen in generator
Code
/* Soft Paper Gray — colorset.net */
:root {
--color-1: #F8F9FA;
--color-2: #F1F3F4;
--color-3: #E8EAED;
--color-4: #DADCE0;
--color-5: #CECED0;
--color-bg: #F8F9FA;
--color-surface: #EFF0F1;
--color-border: #D4D7DB;
--color-text: #505052;
--color-muted: #6C6C6E;
--color-primary: #89898B;
--color-on-primary: #000000;
--color-accent: #58585A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F10;
--color-surface: #19191A;
--color-border: #2D2D31;
--color-text: #F8F9FA;
--color-muted: #8B8C8D;
--color-primary: #CECED0;
--color-on-primary: #0F0F10;
--color-accent: #99999A;
--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 | from palette · color 1 | adjusted for contrast · from #CECED0 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #CECED0 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CECED0 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CECED0 | adjusted for contrast · from #CECED0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.01:1 | AA pass 4.5:1 | |
| Label on accent | 7.10:1 | AAA pass 4.5:1 | |
| Primary on background | 3.31:1 | AA Large pass 3:1 | |
| Accent on background | 6.73:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.17:1 | AAA pass 4.5:1 | |
| Text on surface | 16.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.69:1 | AA pass 4.5:1 | |
| Label on primary | 12.19:1 | AAA pass 4.5:1 | |
| Label on accent | 6.73:1 | AA pass 4.5:1 | |
| Primary on background | 12.19:1 | AAA pass 3:1 | |
| Accent on background | 6.73:1 | AA 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 | #F8F9FA (Text 1) | #F1F3F4 (Text 2) | #E8EAED (Text 3) | #DADCE0 (Text 4) | #CECED0 (Text 5) |
|---|---|---|---|---|---|
| #F8F9FA | Same color | 1.06— | 1.14— | 1.30— | 1.49— |
| #F1F3F4 | 1.06— | Same color | 1.08— | 1.23— | 1.41— |
| #E8EAED | 1.14— | 1.08— | Same color | 1.14— | 1.30— |
| #DADCE0 | 1.30— | 1.23— | 1.14— | Same color | 1.14— |
| #CECED0 | 1.49— | 1.41— | 1.30— | 1.14— | Same color |
Shades
Shades and tints (50–950)
