#20171B is a near-black neutral with only a whisper of temperate cast. On the Color Lab it reads clean and engineered, quietly premium. It holds up as a large surface and is too dark to lead as a primary accent.
Not just a swatch — here's how #20171B works with other colors. Named schemes with #20171B in its natural role, and a note on why the supporting colors balance it.
Graphite is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Graphite.
Graphite plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
Graphite sets a calm, sun-bleached base here, wrapped in bone and paper off-whites and a soft greige, with a single ink accent for wabi-sabi restraint.
Graphite sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Graphite is the single accent in this high-contrast editorial system — set on near-white paper against near-black ink, with a warm grey and a desaturated tint of Graphite carrying the quiet middle.
How #20171B actually behaves in design work — read from its OKLCH lightness, chroma and hue, not just its raw numbers. Ten signals to help you decide where this color earns its place.
Not a swatch to memorise — a color to build with. Here is #20171B at work across the surfaces designers actually ship.
:root {
--color-base: #20171B;
--color-base-rgb: 32 23 27;
--color-base-oklch: oklch(21.7% 0.016 350.1);
--color-50: #F9F6F7;
--color-100: #EEE7EA;
--color-200: #DDD0D6;
--color-300: #C2ADB7;
--color-400: #A68C98;
--color-500: #886C79;
--color-600: #6B5760;
--color-700: #4E4147;
--color-800: #342D30;
--color-900: #211C1E;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
graphite: {
50: '#F9F6F7',
100: '#EEE7EA',
200: '#DDD0D6',
300: '#C2ADB7',
400: '#A68C98',
500: '#886C79',
600: '#6B5760',
700: '#4E4147',
800: '#342D30',
900: '#211C1E',
},
}
$base: #20171B; $base-ink: #FFFFFF; $base-50: #F9F6F7; $base-100: #EEE7EA; $base-200: #DDD0D6; $base-300: #C2ADB7; $base-400: #A68C98; $base-500: #886C79; $base-600: #6B5760; $base-700: #4E4147; $base-800: #342D30; $base-900: #211C1E; $base-hover: #1A1316; $base-subtle: #C3B3BA;
{
"color": {
"base": {
"value": "#20171B",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F9F6F7",
"type": "color"
},
"100": {
"value": "#EEE7EA",
"type": "color"
},
"200": {
"value": "#DDD0D6",
"type": "color"
},
"300": {
"value": "#C2ADB7",
"type": "color"
},
"400": {
"value": "#A68C98",
"type": "color"
},
"500": {
"value": "#886C79",
"type": "color"
},
"600": {
"value": "#6B5760",
"type": "color"
},
"700": {
"value": "#4E4147",
"type": "color"
},
"800": {
"value": "#342D30",
"type": "color"
},
"900": {
"value": "#211C1E",
"type": "color"
}
}
}
}