#20171E#20171E

#20171E is a very dark, near-neutral pink. Relative luminance 0.010; OKLCH L 21.9% C 0.019 H 334.1°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#20171E
RGBrgb(32, 23, 30)
HSLhsl(313, 16%, 11%)
HSVhsv(313, 28%, 13%)
CMYKcmyk(0%, 28.1%, 6.2%, 87.5%)
CIE-LABlab(9.10, 6.12, -3.16)
CIE-LCHlch(9.10, 6.89, 332.68°)
OKLaboklab(21.88% 0.0174 -0.0084)
OKLCHoklch(21.88% 0.019 334.1)
XYZxyz(1.1364, 1.0136, 1.3638)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20171E #172019
analogous
#1D1720 #20171E #201719
triadic
#20171E #1E2017 #171E20
tetradic
#20171E #201D17 #172019 #171920
square
#20171E #201D17 #172019 #171920
split-complementary
#20171E #192017 #17201D
monochromatic
#120D11 #120D11 #20171E #44313F #674A61

Accessibility & contrast

On white

17.46
#20171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20171E
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20171E#FFFFFF#000000##FFFFFF
##20171E1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20171e;
/* rgb */ color: rgb(32, 23, 30);
/* oklch */ color: oklch(21.9% 0.019 334.1);
Tailwind
colors: {
  custom: {
    50: '#5b5359',
    500: '#20171e',
    950: '#000000',
  },
}
SCSS
$custom: #20171e;
$custom-light: #5b5359;
$custom-dark: #000000;
JSON
{
  "hex": "#20171e",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 313.333,
    "s": 16.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21878,
    "c": 0.0193,
    "h": 334.1
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#20171E
secondary
#415245
accent
#B97F6F
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #20171E

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

Preview Lab → · Contrast checker → · Palette generator →

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