#22201F#22201F

#22201F is a very dark, near-neutral grey. Relative luminance 0.015; OKLCH L 24.5% C 0.004 H 48.6°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#22201F
RGBrgb(34, 32, 31)
HSLhsl(20, 5%, 13%)
HSVhsv(20, 9%, 13%)
CMYKcmyk(0%, 5.9%, 8.8%, 86.7%)
CIE-LABlab(12.43, 0.71, 1.02)
CIE-LCHlch(12.43, 1.24, 55.09°)
OKLaboklab(24.54% 0.0024 0.0027)
OKLCHoklch(24.54% 0.004 48.6)
XYZxyz(1.4235, 1.4720, 1.5052)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22201F #1F2122
analogous
#221F1F #22201F #22211F
triadic
#22201F #1F2220 #201F22
tetradic
#22201F #1F221F #1F2122 #211F22
square
#22201F #1F221F #1F2122 #211F22
split-complementary
#22201F #1F2221 #1F1F22
monochromatic
#100F0F #100F0F #22201F #423E3C #625C59

Accessibility & contrast

On white

16.22
#22201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22201F
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22201F#FFFFFF#000000##FFFFFF
##22201F1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22201f;
/* rgb */ color: rgb(34, 32, 31);
/* oklch */ color: oklch(24.5% 0.004 48.6);
Tailwind
colors: {
  custom: {
    50: '#5c5b5a',
    500: '#22201f',
    950: '#000000',
  },
}
SCSS
$custom: #22201f;
$custom-light: #5c5b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#22201f",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 20,
    "s": 4.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24535,
    "c": 0.00359,
    "h": 48.6
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#22201F
secondary
#4C4F51
accent
#9DAE7A
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #22201F

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

Preview Lab → · Contrast checker → · Palette generator →

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