#201817#201817

#201817 is a very dark, near-neutral red. Relative luminance 0.010; OKLCH L 21.8% C 0.013 H 26.5°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#201817
RGBrgb(32, 24, 23)
HSLhsl(7, 16%, 11%)
HSVhsv(7, 28%, 13%)
CMYKcmyk(0%, 25%, 28.1%, 87.5%)
CIE-LABlab(9.18, 3.79, 2.22)
CIE-LCHlch(9.18, 4.39, 30.31°)
OKLaboklab(21.85% 0.0117 0.0058)
OKLCHoklch(21.85% 0.013 26.5)
XYZxyz(1.0770, 1.0222, 0.9510)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201817 #171F20
analogous
#20171A #201817 #201C17
triadic
#201817 #172018 #181720
tetradic
#201817 #1A2017 #171F20 #1C1720
square
#201817 #1A2017 #171F20 #1C1720
split-complementary
#201817 #17201C #171A20
monochromatic
#120D0D #120D0D #201817 #443331 #674D4A

Accessibility & contrast

On white

17.44
#201817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201817
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201817#FFFFFF#000000##FFFFFF
##2018171.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1917
Deuteranopia (green-blind)
#1B1A17
Tritanopia (blue-blind)
#221718
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #201817;
/* rgb */ color: rgb(32, 24, 23);
/* oklch */ color: oklch(21.8% 0.013 26.5);
Tailwind
colors: {
  custom: {
    50: '#5b5453',
    500: '#201817',
    950: '#000000',
  },
}
SCSS
$custom: #201817;
$custom-light: #5b5453;
$custom-dark: #000000;
JSON
{
  "hex": "#201817",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 6.667,
    "s": 16.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21847,
    "c": 0.01307,
    "h": 26.5
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#201817
secondary
#415052
accent
#B1B96F
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040202
muted
#797878

Preview Lab

Preview with #201817

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

Preview Lab → · Contrast checker → · Palette generator →

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