#22151F#22151F

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

Color values

HEX#22151F
RGBrgb(34, 21, 31)
HSLhsl(314, 24%, 11%)
HSVhsv(314, 38%, 13%)
CMYKcmyk(0%, 38.2%, 8.8%, 86.7%)
CIE-LABlab(8.78, 8.79, -4.37)
CIE-LCHlch(8.78, 9.81, 333.56°)
OKLaboklab(21.71% 0.0251 -0.0117)
OKLCHoklch(21.71% 0.028 335.1)
XYZxyz(1.1752, 0.9754, 1.4224)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22151F #152218
analogous
#1E1522 #22151F #221518
triadic
#22151F #1F2215 #151F22
tetradic
#22151F #221E15 #152218 #151822
square
#22151F #221E15 #152218 #151822
split-complementary
#22151F #182215 #15221E
monochromatic
#130C11 #130C11 #22151F #482C41 #6E4464

Accessibility & contrast

On white

17.57
#22151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#22151F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22151F
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22151F#FFFFFF#000000##FFFFFF
##22151F1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22151f;
/* rgb */ color: rgb(34, 21, 31);
/* oklch */ color: oklch(21.7% 0.028 335.1);
Tailwind
colors: {
  custom: {
    50: '#5d525a',
    500: '#22151f',
    950: '#000000',
  },
}
SCSS
$custom: #22151f;
$custom-light: #5d525a;
$custom-dark: #000000;
JSON
{
  "hex": "#22151f",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 313.846,
    "s": 23.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2171,
    "c": 0.0277,
    "h": 335.1
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#22151F
secondary
#3D5643
accent
#C07C68
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #22151F

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

Preview Lab → · Contrast checker → · Palette generator →

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