PreviewingGo to this paletteOpen in generator
Code
/* Graphite Ash — colorset.net */
:root {
--color-1: #251607;
--color-2: #383838;
--color-3: #505050;
--color-4: #696969;
--color-5: #808080;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #251607;
--color-muted: #796655;
--color-primary: #808080;
--color-on-primary: #000000;
--color-accent: #383838;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #251607;
--color-surface: #302111;
--color-border: #483523;
--color-text: #AEAEAE;
--color-muted: #8B8B8B;
--color-primary: #808080;
--color-on-primary: #000000;
--color-accent: #7C6A58;
--color-on-accent: #FFFFFF;
}
}
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 #808080 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #808080 |
| 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 #696969 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.38:1 | AAA pass 4.5:1 | |
| Text on surface | 14.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 5.32:1 | AA pass 4.5:1 | |
| Label on accent | 11.73:1 | AAA pass 4.5:1 | |
| Primary on background | 3.69:1 | AA Large pass 3:1 | |
| Accent on background | 10.95:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.91:1 | AAA pass 4.5:1 | |
| Text on surface | 7.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 5.32:1 | AA pass 4.5:1 | |
| Label on accent | 5.17:1 | AA pass 4.5:1 | |
| Primary on background | 4.44:1 | AA Large pass 3:1 | |
| Accent on background | 3.39:1 | AA Large 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 | #251607 (Text 1) | #383838 (Text 2) | #505050 (Text 3) | #696969 (Text 4) | #808080 (Text 5) |
|---|---|---|---|---|---|
| #251607 | Same color | 1.50— | 2.18— | 3.20AA Large | 4.44AA Large |
| #383838 | 1.50— | Same color | 1.45— | 2.14— | 2.97— |
| #505050 | 2.18— | 1.45— | Same color | 1.47— | 2.04— |
| #696969 | 3.20AA Large | 2.14— | 1.47— | Same color | 1.39— |
| #808080 | 4.44AA Large | 2.97— | 2.04— | 1.39— | Same color |
Shades
Shades and tints (50–950)
