#220212#220212

#220212 is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 17.1% C 0.063 H 352.6°. Best body text is #FFFFFF at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#220212
RGBrgb(34, 2, 18)
HSLhsl(330, 89%, 7%)
HSVhsv(330, 94%, 13%)
CMYKcmyk(0%, 94.1%, 47.1%, 86.7%)
CIE-LABlab(3.86, 15.75, -2.11)
CIE-LCHlch(3.86, 15.89, 352.36°)
OKLaboklab(17.05% 0.062 -0.008)
OKLCHoklch(17.05% 0.063 352.6)
XYZxyz(0.7906, 0.4273, 0.6130)
Luminance0.0043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220212 #022212
analogous
#220222 #220212 #220202
triadic
#220212 #122202 #021222
tetradic
#220212 #222202 #022212 #020222
square
#220212 #222202 #022212 #020222
split-complementary
#220212 #022202 #022222
monochromatic
#1D020F #1D020F #220212 #5C0531 #96094F

Accessibility & contrast

On white

19.35
#220212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#220212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220212
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220212#FFFFFF#000000##FFFFFF
##2202121.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060A12
Deuteranopia (green-blind)
#101011
Tritanopia (blue-blind)
#260108
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #220212;
/* rgb */ color: rgb(34, 2, 18);
/* oklch */ color: oklch(17.1% 0.063 352.6);
Tailwind
colors: {
  custom: {
    50: '#5d4750',
    500: '#220212',
    950: '#000000',
  },
}
SCSS
$custom: #220212;
$custom-light: #5d4750;
$custom-dark: #000000;
JSON
{
  "hex": "#220212",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 18
  },
  "hsl": {
    "h": 330,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17054,
    "c": 0.0625,
    "h": 352.6
  },
  "luminance": 0.00427
}

Semantic roles & 50–950 ramp

primary
#220212
secondary
#186840
accent
#FF9429
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040002
muted
#797778

Preview Lab

Preview with #220212

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

Preview Lab → · Contrast checker → · Palette generator →

#220212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva