#22121A#22121A

#22121A is a very dark, muted pink. Relative luminance 0.008; OKLCH L 20.8% C 0.030 H 348.6°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#22121A
RGBrgb(34, 18, 26)
HSLhsl(330, 31%, 10%)
HSVhsv(330, 47%, 13%)
CMYKcmyk(0%, 47.1%, 23.5%, 86.7%)
CIE-LABlab(7.65, 9.84, -2.25)
CIE-LCHlch(7.65, 10.10, 347.11°)
OKLaboklab(20.77% 0.0293 -0.0059)
OKLCHoklch(20.77% 0.03 348.6)
XYZxyz(1.0625, 0.8473, 1.0847)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22121A #12221A
analogous
#221222 #22121A #221212
triadic
#22121A #1A2212 #121A22
tetradic
#22121A #222212 #12221A #121222
square
#22121A #222212 #12221A #121222
split-complementary
#22121A #122212 #122222
monochromatic
#140B0F #140B0F #22121A #4A2739 #723C57

Accessibility & contrast

On white

17.96
#22121A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#22121A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22121A
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22121A#FFFFFF#000000##FFFFFF
##22121A1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13151A
Deuteranopia (green-blind)
#17181A
Tritanopia (blue-blind)
#241215
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #22121a;
/* rgb */ color: rgb(34, 18, 26);
/* oklch */ color: oklch(20.8% 0.030 348.6);
Tailwind
colors: {
  custom: {
    50: '#5d5056',
    500: '#22121a',
    950: '#000000',
  },
}
SCSS
$custom: #22121a;
$custom-light: #5d5056;
$custom-dark: #000000;
JSON
{
  "hex": "#22121a",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 26
  },
  "hsl": {
    "h": 330,
    "s": 30.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20773,
    "c": 0.02988,
    "h": 348.6
  },
  "luminance": 0.00847
}

Semantic roles & 50–950 ramp

primary
#22121A
secondary
#385748
accent
#C79461
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #22121A

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

Preview Lab → · Contrast checker → · Palette generator →

#22121A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva