#22151E#22151E

#22151E is a very dark, muted pink. Relative luminance 0.010; OKLCH L 21.7% C 0.027 H 338.4°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#22151E
RGBrgb(34, 21, 30)
HSLhsl(318, 24%, 11%)
HSVhsv(318, 38%, 13%)
CMYKcmyk(0%, 38.2%, 11.8%, 86.7%)
CIE-LABlab(8.74, 8.55, -3.68)
CIE-LCHlch(8.74, 9.31, 336.71°)
OKLaboklab(21.66% 0.0247 -0.0098)
OKLCHoklch(21.66% 0.027 338.4)
XYZxyz(1.1622, 0.9702, 1.3541)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22151E #152219
analogous
#1F1522 #22151E #221517
triadic
#22151E #1E2215 #151E22
tetradic
#22151E #221F15 #152219 #151722
square
#22151E #221F15 #152219 #151722
split-complementary
#22151E #172215 #15221F
monochromatic
#130C11 #130C11 #22151E #482C3F #6E4461

Accessibility & contrast

On white

17.59
#22151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22151E
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22151E#FFFFFF#000000##FFFFFF
##22151E1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15181E
Deuteranopia (green-blind)
#181A1E
Tritanopia (blue-blind)
#231518
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #22151e;
/* rgb */ color: rgb(34, 21, 30);
/* oklch */ color: oklch(21.7% 0.027 338.4);
Tailwind
colors: {
  custom: {
    50: '#5d5259',
    500: '#22151e',
    950: '#000000',
  },
}
SCSS
$custom: #22151e;
$custom-light: #5d5259;
$custom-dark: #000000;
JSON
{
  "hex": "#22151e",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 318.462,
    "s": 23.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21662,
    "c": 0.02656,
    "h": 338.4
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#22151E
secondary
#3D5645
accent
#C08368
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #22151E

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

Preview Lab → · Contrast checker → · Palette generator →

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