#20171D#20171D

#20171D is a very dark, near-neutral pink. Relative luminance 0.010; OKLCH L 21.8% C 0.018 H 338.8°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#20171D
RGBrgb(32, 23, 29)
HSLhsl(320, 16%, 11%)
HSVhsv(320, 28%, 13%)
CMYKcmyk(0%, 28.1%, 9.4%, 87.5%)
CIE-LABlab(9.06, 5.88, -2.47)
CIE-LCHlch(9.06, 6.38, 337.20°)
OKLaboklab(21.83% 0.0169 -0.0065)
OKLCHoklch(21.83% 0.018 338.8)
XYZxyz(1.1238, 1.0086, 1.2976)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20171D #17201A
analogous
#1E1720 #20171D #201718
triadic
#20171D #1D2017 #171D20
tetradic
#20171D #201E17 #17201A #171820
square
#20171D #201E17 #17201A #171820
split-complementary
#20171D #182017 #17201E
monochromatic
#120D10 #120D10 #20171D #44313D #674A5E

Accessibility & contrast

On white

17.47
#20171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20171D
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20171D#FFFFFF#000000##FFFFFF
##20171D1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17191D
Deuteranopia (green-blind)
#191A1D
Tritanopia (blue-blind)
#211719
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #20171d;
/* rgb */ color: rgb(32, 23, 29);
/* oklch */ color: oklch(21.8% 0.018 338.8);
Tailwind
colors: {
  custom: {
    50: '#5b5358',
    500: '#20171d',
    950: '#000000',
  },
}
SCSS
$custom: #20171d;
$custom-light: #5b5358;
$custom-dark: #000000;
JSON
{
  "hex": "#20171d",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 320,
    "s": 16.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21833,
    "c": 0.01812,
    "h": 338.8
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#20171D
secondary
#415247
accent
#B9886F
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #20171D

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

Preview Lab → · Contrast checker → · Palette generator →

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