#22181E#22181E

#22181E is a very dark, near-neutral pink. Relative luminance 0.011; OKLCH L 22.4% C 0.019 H 342.1°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#22181E
RGBrgb(34, 24, 30)
HSLhsl(324, 17%, 11%)
HSVhsv(324, 29%, 13%)
CMYKcmyk(0%, 29.4%, 11.8%, 86.7%)
CIE-LABlab(9.70, 6.33, -2.25)
CIE-LCHlch(9.70, 6.72, 340.40°)
OKLaboklab(22.4% 0.0184 -0.0059)
OKLCHoklch(22.4% 0.019 342.1)
XYZxyz(1.2207, 1.0871, 1.3736)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22181E #18221C
analogous
#211822 #22181E #221819
triadic
#22181E #1E2218 #181E22
tetradic
#22181E #222118 #18221C #181922
square
#22181E #222118 #18221C #181922
split-complementary
#22181E #192218 #182221
monochromatic
#120D10 #120D10 #22181E #46313E #6A4B5D

Accessibility & contrast

On white

17.25
#22181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#22181E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22181E
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22181E#FFFFFF#000000##FFFFFF
##22181E1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181A1E
Deuteranopia (green-blind)
#1B1B1E
Tritanopia (blue-blind)
#23181A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #22181e;
/* rgb */ color: rgb(34, 24, 30);
/* oklch */ color: oklch(22.4% 0.019 342.1);
Tailwind
colors: {
  custom: {
    50: '#5d5459',
    500: '#22181e',
    950: '#000000',
  },
}
SCSS
$custom: #22181e;
$custom-light: #5d5459;
$custom-dark: #000000;
JSON
{
  "hex": "#22181e",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 324,
    "s": 17.241,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22397,
    "c": 0.01928,
    "h": 342.1
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#22181E
secondary
#425449
accent
#BA8C6E
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #22181E

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

Preview Lab → · Contrast checker → · Palette generator →

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