#20171A#20171A

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

Color values

HEX#20171A
RGBrgb(32, 23, 26)
HSLhsl(340, 16%, 11%)
HSVhsv(340, 28%, 13%)
CMYKcmyk(0%, 28.1%, 18.8%, 87.5%)
CIE-LABlab(8.95, 5.18, -0.38)
CIE-LCHlch(8.95, 5.19, 355.82°)
OKLaboklab(21.7% 0.0154 -0.0009)
OKLCHoklch(21.7% 0.015 356.5)
XYZxyz(1.0885, 0.9945, 1.1117)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20171A #17201D
analogous
#20171E #20171A #201817
triadic
#20171A #1A2017 #171A20
tetradic
#20171A #1E2017 #17201D #181720
square
#20171A #1E2017 #17201D #181720
split-complementary
#20171A #172018 #171E20
monochromatic
#120D0E #120D0E #20171A #443137 #674A54

Accessibility & contrast

On white

17.52
#20171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20171A
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20171A#FFFFFF#000000##FFFFFF
##20171A1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18181A
Deuteranopia (green-blind)
#1A1A1A
Tritanopia (blue-blind)
#221718
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #20171a;
/* rgb */ color: rgb(32, 23, 26);
/* oklch */ color: oklch(21.7% 0.015 356.5);
Tailwind
colors: {
  custom: {
    50: '#5b5356',
    500: '#20171a',
    950: '#000000',
  },
}
SCSS
$custom: #20171a;
$custom-light: #5b5356;
$custom-dark: #000000;
JSON
{
  "hex": "#20171a",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 340,
    "s": 16.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21703,
    "c": 0.01545,
    "h": 356.5
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20171A

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

Preview Lab → · Contrast checker → · Palette generator →

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