#220202#220202

#220202 is a very dark, muted red. Relative luminance 0.004; OKLCH L 16.4% C 0.059 H 26.7°. Best body text is #FFFFFF at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#220202
RGBrgb(34, 2, 2)
HSLhsl(0, 89%, 7%)
HSVhsv(0, 94%, 13%)
CMYKcmyk(0%, 94.1%, 94.1%, 86.7%)
CIE-LABlab(3.50, 13.26, 4.67)
CIE-LCHlch(3.50, 14.06, 19.41°)
OKLaboklab(16.42% 0.0527 0.0265)
OKLCHoklch(16.42% 0.059 26.7)
XYZxyz(0.6924, 0.3880, 0.0959)
Luminance0.0039 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220202 #022222
analogous
#220212 #220202 #221202
triadic
#220202 #022202 #020222
tetradic
#220202 #122202 #022222 #120222
square
#220202 #122202 #022222 #120222
split-complementary
#220202 #022212 #021222
monochromatic
#1D0202 #1D0202 #220202 #5C0505 #960909

Accessibility & contrast

On white

19.49
#220202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220202
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220202#FFFFFF#000000##FFFFFF
##2202021.0019.491.0819.49
#FFFFFF19.491.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0802
Deuteranopia (green-blind)
#120F01
Tritanopia (blue-blind)
#270002
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #220202;
/* rgb */ color: rgb(34, 2, 2);
/* oklch */ color: oklch(16.4% 0.059 26.7);
Tailwind
colors: {
  custom: {
    50: '#5d4748',
    500: '#220202',
    950: '#000000',
  },
}
SCSS
$custom: #220202;
$custom-light: #5d4748;
$custom-dark: #000000;
JSON
{
  "hex": "#220202",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 2
  },
  "hsl": {
    "h": 0,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.16423,
    "c": 0.059,
    "h": 26.7
  },
  "luminance": 0.00388
}

Semantic roles & 50–950 ramp

primary
#220202
secondary
#186868
accent
#FFFF29
background
#F5F4F4
surface
#E9E6E6
border
#C5C2C2
text
#040000
muted
#797777

Preview Lab

Preview with #220202

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

Preview Lab → · Contrast checker → · Palette generator →

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