#20171B#20171B

#20171B is a very dark, near-neutral pink. Relative luminance 0.010; OKLCH L 21.7% C 0.016 H 350.1°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#20171B
RGBrgb(32, 23, 27)
HSLhsl(333, 16%, 11%)
HSVhsv(333, 28%, 13%)
CMYKcmyk(0%, 28.1%, 15.6%, 87.5%)
CIE-LABlab(8.98, 5.41, -1.08)
CIE-LCHlch(8.98, 5.52, 348.71°)
OKLaboklab(21.75% 0.0159 -0.0028)
OKLCHoklch(21.75% 0.016 350.1)
XYZxyz(1.0999, 0.9990, 1.1716)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20171B #17201C
analogous
#20171F #20171B #201717
triadic
#20171B #1B2017 #171B20
tetradic
#20171B #1F2017 #17201C #171720
square
#20171B #1F2017 #17201C #171720
split-complementary
#20171B #172017 #171F20
monochromatic
#120D0F #120D0F #20171B #443139 #674A57

Accessibility & contrast

On white

17.50
#20171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#20171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20171B
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20171B#FFFFFF#000000##FFFFFF
##20171B1.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18191B
Deuteranopia (green-blind)
#1A1A1B
Tritanopia (blue-blind)
#211718
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #20171b;
/* rgb */ color: rgb(32, 23, 27);
/* oklch */ color: oklch(21.7% 0.016 350.1);
Tailwind
colors: {
  custom: {
    50: '#5b5357',
    500: '#20171b',
    950: '#000000',
  },
}
SCSS
$custom: #20171b;
$custom-light: #5b5357;
$custom-dark: #000000;
JSON
{
  "hex": "#20171b",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 333.333,
    "s": 16.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21745,
    "c": 0.01617,
    "h": 350.1
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#20171B
secondary
#41524A
accent
#B9986F
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #20171B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#20171B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva