#220012#220012

#220012 is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 16.6% C 0.069 H 351.1°. Best body text is #FFFFFF at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#220012
RGBrgb(34, 0, 18)
HSLhsl(328, 100%, 7%)
HSVhsv(328, 100%, 13%)
CMYKcmyk(0%, 100%, 47.1%, 86.7%)
CIE-LABlab(3.47, 16.55, -2.69)
CIE-LCHlch(3.47, 16.77, 350.78°)
OKLaboklab(16.58% 0.0681 -0.0107)
OKLCHoklch(16.58% 0.069 351.1)
XYZxyz(0.7689, 0.3839, 0.6058)
Luminance0.0038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220012 #002210
analogous
#210022 #220012 #220001
triadic
#220012 #122200 #001222
tetradic
#220012 #222100 #002210 #000122
square
#220012 #222100 #002210 #000122
split-complementary
#220012 #012200 #002221
monochromatic
#1F0010 #1F0010 #220012 #5F0032 #9C0053

Accessibility & contrast

On white

19.50
#220012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#220012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220012
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220012#FFFFFF#000000##FFFFFF
##2200121.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040813
Deuteranopia (green-blind)
#0E0F11
Tritanopia (blue-blind)
#260006
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #220012;
/* rgb */ color: rgb(34, 0, 18);
/* oklch */ color: oklch(16.6% 0.069 351.1);
Tailwind
colors: {
  custom: {
    50: '#5d4650',
    500: '#220012',
    950: '#000000',
  },
}
SCSS
$custom: #220012;
$custom-light: #5d4650;
$custom-dark: #000000;
JSON
{
  "hex": "#220012",
  "rgb": {
    "r": 34,
    "g": 0,
    "b": 18
  },
  "hsl": {
    "h": 328.235,
    "s": 100,
    "l": 6.667
  },
  "oklch": {
    "l": 0.16576,
    "c": 0.06891,
    "h": 351.1
  },
  "luminance": 0.00384
}

Semantic roles & 50–950 ramp

primary
#220012
secondary
#136B3C
accent
#FF8E29
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#040002
muted
#797778

Preview Lab

Preview with #220012

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

Preview Lab → · Contrast checker → · Palette generator →

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