#201818#201818

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

Color values

HEX#201818
RGBrgb(32, 24, 24)
HSLhsl(0, 14%, 11%)
HSVhsv(0, 25%, 13%)
CMYKcmyk(0%, 25%, 25%, 87.5%)
CIE-LABlab(9.21, 4.00, 1.51)
CIE-LCHlch(9.21, 4.28, 20.72°)
OKLaboklab(21.88% 0.0122 0.004)
OKLCHoklch(21.88% 0.013 18.2)
XYZxyz(1.0872, 1.0263, 1.0048)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201818 #182020
analogous
#20181C #201818 #201C18
triadic
#201818 #182018 #181820
tetradic
#201818 #1C2018 #182020 #1C1820
square
#201818 #1C2018 #182020 #1C1820
split-complementary
#201818 #18201C #181C20
monochromatic
#110D0D #110D0D #201818 #433232 #664C4C

Accessibility & contrast

On white

17.42
#201818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#201818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201818
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201818#FFFFFF#000000##FFFFFF
##2018181.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201818;
/* rgb */ color: rgb(32, 24, 24);
/* oklch */ color: oklch(21.9% 0.013 18.2);
Tailwind
colors: {
  custom: {
    50: '#5b5454',
    500: '#201818',
    950: '#000000',
  },
}
SCSS
$custom: #201818;
$custom-light: #5b5454;
$custom-dark: #000000;
JSON
{
  "hex": "#201818",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 14.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21884,
    "c": 0.01287,
    "h": 18.2
  },
  "luminance": 0.01026
}

Semantic roles & 50–950 ramp

primary
#201818
secondary
#435151
accent
#B7B771
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040202
muted
#797878

Preview Lab

Preview with #201818

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

Preview Lab → · Contrast checker → · Palette generator →

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