#22020E#22020E

#22020E is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 16.9% C 0.060 H 0.0°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#22020E
RGBrgb(34, 2, 14)
HSLhsl(338, 89%, 7%)
HSVhsv(338, 94%, 13%)
CMYKcmyk(0%, 94.1%, 58.8%, 86.7%)
CIE-LABlab(3.75, 14.99, -0.05)
CIE-LCHlch(3.75, 14.99, 359.82°)
OKLaboklab(16.87% 0.0604 0)
OKLCHoklch(16.87% 0.06 0)
XYZxyz(0.7607, 0.4153, 0.4555)
Luminance0.0042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22020E #022216
analogous
#22021E #22020E #220602
triadic
#22020E #0E2202 #020E22
tetradic
#22020E #1E2202 #022216 #060222
square
#22020E #1E2202 #022216 #060222
split-complementary
#22020E #022206 #021E22
monochromatic
#1D020C #1D020C #22020E #5C0526 #96093E

Accessibility & contrast

On white

19.39
#22020E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#22020E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22020E
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22020E#FFFFFF#000000##FFFFFF
##22020E1.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07090E
Deuteranopia (green-blind)
#11100D
Tritanopia (blue-blind)
#260006
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #22020e;
/* rgb */ color: rgb(34, 2, 14);
/* oklch */ color: oklch(16.9% 0.060 0.0);
Tailwind
colors: {
  custom: {
    50: '#5d474d',
    500: '#22020e',
    950: '#000000',
  },
}
SCSS
$custom: #22020e;
$custom-light: #5d474d;
$custom-dark: #000000;
JSON
{
  "hex": "#22020e",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 14
  },
  "hsl": {
    "h": 337.5,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.16867,
    "c": 0.0604,
    "h": 0
  },
  "luminance": 0.00415
}

Semantic roles & 50–950 ramp

primary
#22020E
secondary
#18684A
accent
#FFAF29
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #22020E

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

Preview Lab → · Contrast checker → · Palette generator →

#22020E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva