#20161B#20161B

#20161B is a very dark, near-neutral pink. Relative luminance 0.010; OKLCH L 21.5% C 0.019 H 347.3°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#20161B
RGBrgb(32, 22, 27)
HSLhsl(330, 19%, 11%)
HSVhsv(330, 31%, 13%)
CMYKcmyk(0%, 31.2%, 15.6%, 87.5%)
CIE-LABlab(8.65, 6.15, -1.56)
CIE-LCHlch(8.65, 6.35, 345.73°)
OKLaboklab(21.49% 0.0181 -0.0041)
OKLCHoklch(21.49% 0.019 347.3)
XYZxyz(1.0804, 0.9601, 1.1651)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20161B #16201B
analogous
#201620 #20161B #201616
triadic
#20161B #1B2016 #161B20
tetradic
#20161B #202016 #16201B #161620
square
#20161B #202016 #16201B #161620
split-complementary
#20161B #162016 #162020
monochromatic
#120C0F #120C0F #20161B #442F3A #694858

Accessibility & contrast

On white

17.62
#20161B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#20161B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20161B
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20161B#FFFFFF#000000##FFFFFF
##20161B1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17181B
Deuteranopia (green-blind)
#19191B
Tritanopia (blue-blind)
#211618
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #20161b;
/* rgb */ color: rgb(32, 22, 27);
/* oklch */ color: oklch(21.5% 0.019 347.3);
Tailwind
colors: {
  custom: {
    50: '#5b5357',
    500: '#20161b',
    950: '#000000',
  },
}
SCSS
$custom: #20161b;
$custom-light: #5b5357;
$custom-dark: #000000;
JSON
{
  "hex": "#20161b",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 330,
    "s": 18.519,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21491,
    "c": 0.01852,
    "h": 347.3
  },
  "luminance": 0.0096
}

Semantic roles & 50–950 ramp

primary
#20161B
secondary
#3F5249
accent
#BB946D
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #20161B

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

Preview Lab → · Contrast checker → · Palette generator →

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