#201717#201717

#201717 is a very dark, near-neutral red. Relative luminance 0.010; OKLCH L 21.6% C 0.015 H 18.3°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#201717
RGBrgb(32, 23, 23)
HSLhsl(0, 16%, 11%)
HSVhsv(0, 28%, 13%)
CMYKcmyk(0%, 28.1%, 28.1%, 87.5%)
CIE-LABlab(8.84, 4.53, 1.73)
CIE-LCHlch(8.84, 4.85, 20.93°)
OKLaboklab(21.58% 0.0139 0.0046)
OKLCHoklch(21.58% 0.015 18.3)
XYZxyz(1.0567, 0.9818, 0.9443)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201717 #172020
analogous
#20171B #201717 #201B17
triadic
#201717 #172017 #171720
tetradic
#201717 #1B2017 #172020 #1B1720
square
#201717 #1B2017 #172020 #1B1720
split-complementary
#201717 #17201B #171B20
monochromatic
#120D0D #120D0D #201717 #443131 #674A4A

Accessibility & contrast

On white

17.55
#201717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#201717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201717
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201717#FFFFFF#000000##FFFFFF
##2017171.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191817
Deuteranopia (green-blind)
#1B1A17
Tritanopia (blue-blind)
#221617
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #201717;
/* rgb */ color: rgb(32, 23, 23);
/* oklch */ color: oklch(21.6% 0.015 18.3);
Tailwind
colors: {
  custom: {
    50: '#5b5353',
    500: '#201717',
    950: '#000000',
  },
}
SCSS
$custom: #201717;
$custom-light: #5b5353;
$custom-dark: #000000;
JSON
{
  "hex": "#201717",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 23
  },
  "hsl": {
    "h": 0,
    "s": 16.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21585,
    "c": 0.01459,
    "h": 18.3
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#201717
secondary
#415252
accent
#B9B96F
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040202
muted
#797878

Preview Lab

Preview with #201717

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

Preview Lab → · Contrast checker → · Palette generator →

#201717 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva