#20201F#20201F

#20201F is a very dark, near-neutral grey. Relative luminance 0.014; OKLCH L 24.3% C 0.002 H 106.5°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#20201F
RGBrgb(32, 32, 31)
HSLhsl(60, 2%, 12%)
HSVhsv(60, 3%, 13%)
CMYKcmyk(0%, 0%, 3.1%, 87.5%)
CIE-LABlab(12.21, -0.24, 0.68)
CIE-LCHlch(12.21, 0.72, 109.81°)
OKLaboklab(24.31% -0.0005 0.0018)
OKLCHoklch(24.31% 0.002 106.5)
XYZxyz(1.3595, 1.4390, 1.5022)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20201F #1F1F20
analogous
#20201F #20201F #20201F
triadic
#20201F #1F2020 #201F20
tetradic
#20201F #1F2020 #1F1F20 #201F20
square
#20201F #1F2020 #1F1F20 #201F20
split-complementary
#20201F #1F2020 #201F20
monochromatic
#10100F #10100F #20201F #3F3F3D #5E5E5B

Accessibility & contrast

On white

16.31
#20201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#20201F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20201F
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20201F#FFFFFF#000000##FFFFFF
##20201F1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20201F
Deuteranopia (green-blind)
#20201F
Tritanopia (blue-blind)
#202020
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #20201f;
/* rgb */ color: rgb(32, 32, 31);
/* oklch */ color: oklch(24.3% 0.002 106.5);
Tailwind
colors: {
  custom: {
    50: '#5b5b5a',
    500: '#20201f',
    950: '#000000',
  },
}
SCSS
$custom: #20201f;
$custom-light: #5b5b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#20201f",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 60,
    "s": 1.587,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24314,
    "c": 0.00187,
    "h": 106.5
  },
  "luminance": 0.01439
}

Semantic roles & 50–950 ramp

primary
#20201F
secondary
#4D4D4E
accent
#7DAB7D
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #20201F

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

Preview Lab → · Contrast checker → · Palette generator →

#20201F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva