#201F22#201F22

#201F22 is a very dark, near-neutral grey. Relative luminance 0.014; OKLCH L 24.2% C 0.006 H 301.1°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#201F22
RGBrgb(32, 31, 34)
HSLhsl(260, 5%, 13%)
HSVhsv(260, 9%, 13%)
CMYKcmyk(5.9%, 8.8%, 0%, 86.7%)
CIE-LABlab(11.97, 1.23, -1.87)
CIE-LCHlch(11.97, 2.24, 303.41°)
OKLaboklab(24.16% 0.003 -0.005)
OKLCHoklch(24.16% 0.006 301.1)
XYZxyz(1.3743, 1.4025, 1.7114)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F22 #21221F
analogous
#1F1F22 #201F22 #211F22
triadic
#201F22 #22201F #1F2220
tetradic
#201F22 #221F1F #21221F #1F2221
square
#201F22 #221F1F #21221F #1F2221
split-complementary
#201F22 #22211F #1F221F
monochromatic
#0F0F10 #0F0F10 #201F22 #3E3C42 #5C5962

Accessibility & contrast

On white

16.40
#201F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#201F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F22
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F22#FFFFFF#000000##FFFFFF
##201F221.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F22
Deuteranopia (green-blind)
#1F1F22
Tritanopia (blue-blind)
#201F20
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201f22;
/* rgb */ color: rgb(32, 31, 34);
/* oklch */ color: oklch(24.2% 0.006 301.1);
Tailwind
colors: {
  custom: {
    50: '#5b5a5c',
    500: '#201f22',
    950: '#000000',
  },
}
SCSS
$custom: #201f22;
$custom-light: #5b5a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#201f22",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 260,
    "s": 4.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24162,
    "c": 0.00582,
    "h": 301.1
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#201F22
secondary
#4F514C
accent
#AE7A9D
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040304
muted
#797879

Preview Lab

Preview with #201F22

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

Preview Lab → · Contrast checker → · Palette generator →

#201F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva