#221820#221820

#221820 is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.5% C 0.022 H 333.4°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#221820
RGBrgb(34, 24, 32)
HSLhsl(312, 17%, 11%)
HSVhsv(312, 29%, 13%)
CMYKcmyk(0%, 29.4%, 5.9%, 86.7%)
CIE-LABlab(9.78, 6.81, -3.63)
CIE-LCHlch(9.78, 7.71, 331.94°)
OKLaboklab(22.49% 0.0193 -0.0097)
OKLCHoklch(22.49% 0.022 333.4)
XYZxyz(1.2470, 1.0977, 1.5124)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221820 #18221A
analogous
#1F1822 #221820 #22181B
triadic
#221820 #202218 #182022
tetradic
#221820 #221F18 #18221A #181B22
square
#221820 #221F18 #18221A #181B22
split-complementary
#221820 #1B2218 #18221F
monochromatic
#120D11 #120D11 #221820 #463142 #6A4B64

Accessibility & contrast

On white

17.22
#221820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#221820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221820
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221820#FFFFFF#000000##FFFFFF
##2218201.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181A20
Deuteranopia (green-blind)
#1A1C20
Tritanopia (blue-blind)
#23181B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #221820;
/* rgb */ color: rgb(34, 24, 32);
/* oklch */ color: oklch(22.5% 0.022 333.4);
Tailwind
colors: {
  custom: {
    50: '#5d545b',
    500: '#221820',
    950: '#000000',
  },
}
SCSS
$custom: #221820;
$custom-light: #5d545b;
$custom-dark: #000000;
JSON
{
  "hex": "#221820",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 32
  },
  "hsl": {
    "h": 312,
    "s": 17.241,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22488,
    "c": 0.02157,
    "h": 333.4
  },
  "luminance": 0.01098
}

Semantic roles & 50–950 ramp

primary
#221820
secondary
#425445
accent
#BA7D6E
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040204
muted
#797879

Preview Lab

Preview with #221820

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

Preview Lab → · Contrast checker → · Palette generator →

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