Black Color Palette
Black Color Palette built around #000000, a dark neutral neutral anchor (WCAG contrast 1:1 against black). The set combines a light tint + a deep shade + a softened complement + a neutral ground so any palette position has a text-safe pairing.
Semantic roles
Assigned deterministically: lightest = background, darkest = text, most saturated = primary.
| background | #9A9A9A | |
| surface | #1B1B1B | |
| text | #000000 | |
| text-muted | #000000 | |
| primary | #1B1B1B | |
| secondary | #000000 | |
| accent | #000000 |
CSS variables
:root {
--background: #9a9a9a;
--surface: #1b1b1b;
--text: #000000;
--text-muted: #000000;
--primary: #1b1b1b;
--secondary: #000000;
--accent: #000000;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #000000 | #9A9A9A | #000000 | #000000 | #1B1B1B |
|---|---|---|---|---|---|
| #000000 | 1.0 | 7.5 | 1.0 | 1.0 | 1.2 |
| #9A9A9A | 7.5 | 1.0 | 7.5 | 7.5 | 6.1 |
| #000000 | 1.0 | 7.5 | 1.0 | 1.0 | 1.2 |
| #000000 | 1.0 | 7.5 | 1.0 | 1.0 | 1.2 |
| #1B1B1B | 1.2 | 6.1 | 1.2 | 1.2 | 1.0 |
Under deuteranopia
Machado et al. (2009) simulation, severity 1.0 — approximation, not a medical tool.
Colors in this palette
Similar palettes
FAQ
How do I use the black color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #000000, #9A9A9A, #000000, #000000, #1B1B1B.
Do these colors pass accessibility checks?
See the WCAG matrix on this page: every text-on-background pairing with ratio ≥ 4.5 passes AA for normal text; ≥ 3 passes AA for large text and UI components.