#22151B#22151B

#22151B is a very dark, muted pink. Relative luminance 0.010; OKLCH L 21.5% C 0.024 H 350.0°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#22151B
RGBrgb(34, 21, 27)
HSLhsl(332, 24%, 11%)
HSVhsv(332, 38%, 13%)
CMYKcmyk(0%, 38.2%, 20.6%, 86.7%)
CIE-LABlab(8.62, 7.87, -1.59)
CIE-LCHlch(8.62, 8.03, 348.57°)
OKLaboklab(21.53% 0.0233 -0.0041)
OKLCHoklch(21.53% 0.024 350)
XYZxyz(1.1257, 0.9556, 1.1619)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22151B #15221C
analogous
#221521 #22151B #221515
triadic
#22151B #1B2215 #151B22
tetradic
#22151B #212215 #15221C #151522
square
#22151B #212215 #15221C #151522
split-complementary
#22151B #152215 #152122
monochromatic
#130C0F #130C0F #22151B #482C39 #6E4457

Accessibility & contrast

On white

17.63
#22151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#22151B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22151B
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22151B#FFFFFF#000000##FFFFFF
##22151B1.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16171B
Deuteranopia (green-blind)
#191A1B
Tritanopia (blue-blind)
#241517
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #22151b;
/* rgb */ color: rgb(34, 21, 27);
/* oklch */ color: oklch(21.5% 0.024 350.0);
Tailwind
colors: {
  custom: {
    50: '#5d5257',
    500: '#22151b',
    950: '#000000',
  },
}
SCSS
$custom: #22151b;
$custom-light: #5d5257;
$custom-dark: #000000;
JSON
{
  "hex": "#22151b",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 332.308,
    "s": 23.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21525,
    "c": 0.02367,
    "h": 350
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#22151B
secondary
#3D564A
accent
#C09768
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #22151B

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

Preview Lab → · Contrast checker → · Palette generator →

#22151B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva