PreviewingGo to this paletteOpen in generator
Code
/* Warm Graphite — colorset.net */
:root {
--color-1: #251F1F;
--color-2: #3B3535;
--color-3: #514B4B;
--color-4: #676161;
--color-5: #7D7777;
--color-bg: #F8F6F6;
--color-surface: #EFEDED;
--color-border: #DAD3D3;
--color-text: #251F1F;
--color-muted: #726A6A;
--color-primary: #7D7777;
--color-on-primary: #000000;
--color-accent: #3B3535;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #251F1F;
--color-surface: #302A2A;
--color-border: #493E3E;
--color-text: #BDB7B7;
--color-muted: #999393;
--color-primary: #7D7777;
--color-on-primary: #000000;
--color-accent: #B0ABAB;
--color-on-accent: #251F1F;
}
}
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 #7D7777 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #7D7777 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #7D7777 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.07:1 | AAA pass 4.5:1 | |
| Text on surface | 13.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 12.02:1 | AAA pass 4.5:1 | |
| Primary on background | 4.08:1 | AA Large pass 3:1 | |
| Accent on background | 11.17:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.21:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 7.15:1 | AAA pass 4.5:1 | |
| Primary on background | 3.69:1 | AA Large pass 3:1 | |
| Accent on background | 7.15: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 | #251F1F (Text 1) | #3B3535 (Text 2) | #514B4B (Text 3) | #676161 (Text 4) | #7D7777 (Text 5) |
|---|---|---|---|---|---|
| #251F1F | Same color | 1.35— | 1.90— | 2.67— | 3.69AA Large |
| #3B3535 | 1.35— | Same color | 1.41— | 1.98— | 2.74— |
| #514B4B | 1.90— | 1.41— | Same color | 1.41— | 1.94— |
| #676161 | 2.67— | 1.98— | 1.41— | Same color | 1.38— |
| #7D7777 | 3.69AA Large | 2.74— | 1.94— | 1.38— | Same color |
Shades
Shades and tints (50–950)
