#20221E#20221E

#20221E is a very dark, near-neutral grey. Relative luminance 0.015; OKLCH L 24.8% C 0.008 H 128.8°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#20221E
RGBrgb(32, 34, 30)
HSLhsl(90, 6%, 13%)
HSVhsv(90, 12%, 13%)
CMYKcmyk(5.9%, 0%, 11.8%, 86.7%)
CIE-LABlab(12.89, -1.91, 2.38)
CIE-LCHlch(12.89, 3.05, 128.69°)
OKLaboklab(24.84% -0.005 0.0062)
OKLCHoklch(24.84% 0.008 128.8)
XYZxyz(1.4020, 1.5449, 1.4524)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20221E #201E22
analogous
#22221E #20221E #1E221E
triadic
#20221E #1E2022 #221E20
tetradic
#20221E #1E2222 #201E22 #221E1E
square
#20221E #1E2222 #201E22 #221E1E
split-complementary
#20221E #1E1E22 #221E22
monochromatic
#0F100E #0F100E #20221E #3F433B #5D6357

Accessibility & contrast

On white

16.04
#20221E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#20221E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20221E
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20221E#FFFFFF#000000##FFFFFF
##20221E1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211E
Deuteranopia (green-blind)
#22211E
Tritanopia (blue-blind)
#202221
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #20221e;
/* rgb */ color: rgb(32, 34, 30);
/* oklch */ color: oklch(24.8% 0.008 128.8);
Tailwind
colors: {
  custom: {
    50: '#5b5c59',
    500: '#20221e',
    950: '#000000',
  },
}
SCSS
$custom: #20221e;
$custom-light: #5b5c59;
$custom-dark: #000000;
JSON
{
  "hex": "#20221e",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 90,
    "s": 6.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24836,
    "c": 0.00797,
    "h": 128.8
  },
  "luminance": 0.01545
}

Semantic roles & 50–950 ramp

primary
#20221E
secondary
#4E4A51
accent
#78AF94
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #20221E

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

Preview Lab → · Contrast checker → · Palette generator →

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