#20161E#20161E

#20161E is a very dark, muted pink. Relative luminance 0.010; OKLCH L 21.6% C 0.022 H 333.4°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#20161E
RGBrgb(32, 22, 30)
HSLhsl(312, 19%, 11%)
HSVhsv(312, 31%, 13%)
CMYKcmyk(0%, 31.2%, 6.2%, 87.5%)
CIE-LABlab(8.78, 6.87, -3.65)
CIE-LCHlch(8.78, 7.78, 332.01°)
OKLaboklab(21.63% 0.0195 -0.0097)
OKLCHoklch(21.63% 0.022 333.4)
XYZxyz(1.1169, 0.9747, 1.3573)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20161E #162018
analogous
#1D1620 #20161E #201619
triadic
#20161E #1E2016 #161E20
tetradic
#20161E #201D16 #162018 #161920
square
#20161E #201D16 #162018 #161920
split-complementary
#20161E #192016 #16201D
monochromatic
#120C11 #120C11 #20161E #442F40 #694862

Accessibility & contrast

On white

17.57
#20161E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#20161E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20161E
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20161E#FFFFFF#000000##FFFFFF
##20161E1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16181E
Deuteranopia (green-blind)
#181A1E
Tritanopia (blue-blind)
#211619
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #20161e;
/* rgb */ color: rgb(32, 22, 30);
/* oklch */ color: oklch(21.6% 0.022 333.4);
Tailwind
colors: {
  custom: {
    50: '#5b5359',
    500: '#20161e',
    950: '#000000',
  },
}
SCSS
$custom: #20161e;
$custom-light: #5b5359;
$custom-dark: #000000;
JSON
{
  "hex": "#20161e",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 30
  },
  "hsl": {
    "h": 312,
    "s": 18.519,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21628,
    "c": 0.02178,
    "h": 333.4
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#20161E
secondary
#3F5243
accent
#BB7C6D
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #20161E

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

Preview Lab → · Contrast checker → · Palette generator →

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