#22011B#22011B

#22011B is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 17.4% C 0.072 H 337.6°. Best body text is #FFFFFF at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#22011B
RGBrgb(34, 1, 27)
HSLhsl(313, 94%, 7%)
HSVhsv(313, 97%, 13%)
CMYKcmyk(0%, 97.1%, 20.6%, 86.7%)
CIE-LABlab(3.98, 18.39, -8.47)
CIE-LCHlch(3.98, 20.25, 335.28°)
OKLaboklab(17.37% 0.0668 -0.0276)
OKLCHoklch(17.37% 0.072 337.6)
XYZxyz(0.8684, 0.4410, 1.0761)
Luminance0.0044 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22011B #012208
analogous
#190122 #22011B #22010B
triadic
#22011B #1B2201 #011B22
tetradic
#22011B #221901 #012208 #010B22
square
#22011B #221901 #012208 #010B22
split-complementary
#22011B #0B2201 #012219
monochromatic
#1E0118 #1E0118 #22011B #5D034A #990479

Accessibility & contrast

On white

19.30
#22011B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#22011B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22011B
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22011B#FFFFFF#000000##FFFFFF
##22011B1.0019.301.0919.30
#FFFFFF19.301.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020A1C
Deuteranopia (green-blind)
#0C101A
Tritanopia (blue-blind)
#25020C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #22011b;
/* rgb */ color: rgb(34, 1, 27);
/* oklch */ color: oklch(17.4% 0.072 337.6);
Tailwind
colors: {
  custom: {
    50: '#5d4657',
    500: '#22011b',
    950: '#000000',
  },
}
SCSS
$custom: #22011b;
$custom-light: #5d4657;
$custom-dark: #000000;
JSON
{
  "hex": "#22011b",
  "rgb": {
    "r": 34,
    "g": 1,
    "b": 27
  },
  "hsl": {
    "h": 312.727,
    "s": 94.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.17366,
    "c": 0.07223,
    "h": 337.6
  },
  "luminance": 0.00441
}

Semantic roles & 50–950 ramp

primary
#22011B
secondary
#166927
accent
#FF5629
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040003
muted
#797778

Preview Lab

Preview with #22011B

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

Preview Lab → · Contrast checker → · Palette generator →

#22011B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva