#20171C#20171C

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

Color values

HEX#20171C
RGBrgb(32, 23, 28)
HSLhsl(327, 16%, 11%)
HSVhsv(327, 28%, 13%)
CMYKcmyk(0%, 28.1%, 12.5%, 87.5%)
CIE-LABlab(9.02, 5.64, -1.78)
CIE-LCHlch(9.02, 5.91, 342.50°)
OKLaboklab(21.79% 0.0164 -0.0047)
OKLCHoklch(21.79% 0.017 344.2)
XYZxyz(1.1116, 1.0037, 1.2336)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20171C #17201B
analogous
#1F1720 #20171C #201717
triadic
#20171C #1C2017 #171C20
tetradic
#20171C #201F17 #17201B #171720
square
#20171C #201F17 #17201B #171720
split-complementary
#20171C #172017 #17201F
monochromatic
#120D10 #120D10 #20171C #44313B #674A5A

Accessibility & contrast

On white

17.49
#20171C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20171C
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20171C#FFFFFF#000000##FFFFFF
##20171C1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17191C
Deuteranopia (green-blind)
#1A1A1C
Tritanopia (blue-blind)
#211719
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #20171c;
/* rgb */ color: rgb(32, 23, 28);
/* oklch */ color: oklch(21.8% 0.017 344.2);
Tailwind
colors: {
  custom: {
    50: '#5b5357',
    500: '#20171c',
    950: '#000000',
  },
}
SCSS
$custom: #20171c;
$custom-light: #5b5357;
$custom-dark: #000000;
JSON
{
  "hex": "#20171c",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 326.667,
    "s": 16.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21788,
    "c": 0.01707,
    "h": 344.2
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#20171C
secondary
#415248
accent
#B9906F
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #20171C

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

Preview Lab → · Contrast checker → · Palette generator →

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