#22020C#22020C

#22020C is a very dark, muted pink. Relative luminance 0.004; OKLCH L 16.8% C 0.060 H 3.8°. Best body text is #FFFFFF at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#22020C
RGBrgb(34, 2, 12)
HSLhsl(341, 89%, 7%)
HSVhsv(341, 94%, 13%)
CMYKcmyk(0%, 94.1%, 64.7%, 86.7%)
CIE-LABlab(3.70, 14.67, 0.84)
CIE-LCHlch(3.70, 14.69, 3.29°)
OKLaboklab(16.79% 0.0595 0.004)
OKLCHoklch(16.79% 0.06 3.8)
XYZxyz(0.7478, 0.4101, 0.3875)
Luminance0.0041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22020C #022218
analogous
#22021C #22020C #220802
triadic
#22020C #0C2202 #020C22
tetradic
#22020C #1C2202 #022218 #080222
square
#22020C #1C2202 #022218 #080222
split-complementary
#22020C #022208 #021C22
monochromatic
#1D020A #1D020A #22020C #5C0520 #960935

Accessibility & contrast

On white

19.41
#22020C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22020C
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22020C#FFFFFF#000000##FFFFFF
##22020C1.0019.411.0819.41
#FFFFFF19.411.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08090C
Deuteranopia (green-blind)
#11100B
Tritanopia (blue-blind)
#260005
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #22020c;
/* rgb */ color: rgb(34, 2, 12);
/* oklch */ color: oklch(16.8% 0.060 3.8);
Tailwind
colors: {
  custom: {
    50: '#5d474c',
    500: '#22020c',
    950: '#000000',
  },
}
SCSS
$custom: #22020c;
$custom-light: #5d474c;
$custom-dark: #000000;
JSON
{
  "hex": "#22020c",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 12
  },
  "hsl": {
    "h": 341.25,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.16785,
    "c": 0.05962,
    "h": 3.8
  },
  "luminance": 0.0041
}

Semantic roles & 50–950 ramp

primary
#22020C
secondary
#18684F
accent
#FFBC29
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #22020C

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

Preview Lab → · Contrast checker → · Palette generator →

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