#220102#220102

#220102 is a very dark, moderate red. Relative luminance 0.004; OKLCH L 16.2% C 0.061 H 24.8°. Best body text is #FFFFFF at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#220102
RGBrgb(34, 1, 2)
HSLhsl(358, 94%, 7%)
HSVhsv(358, 97%, 13%)
CMYKcmyk(0%, 97.1%, 94.1%, 86.7%)
CIE-LABlab(3.31, 13.66, 4.39)
CIE-LCHlch(3.31, 14.35, 17.80°)
OKLaboklab(16.17% 0.0558 0.0257)
OKLCHoklch(16.17% 0.061 24.8)
XYZxyz(0.6816, 0.3663, 0.0922)
Luminance0.0037 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220102 #012221
analogous
#220113 #220102 #221101
triadic
#220102 #022201 #010222
tetradic
#220102 #132201 #012221 #110122
square
#220102 #132201 #012221 #110122
split-complementary
#220102 #012211 #011322
monochromatic
#1E0102 #1E0102 #220102 #5D0305 #990409

Accessibility & contrast

On white

19.57
#220102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#220102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220102
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220102#FFFFFF#000000##FFFFFF
##2201021.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220102;
/* rgb */ color: rgb(34, 1, 2);
/* oklch */ color: oklch(16.2% 0.061 24.8);
Tailwind
colors: {
  custom: {
    50: '#5d4748',
    500: '#220102',
    950: '#000000',
  },
}
SCSS
$custom: #220102;
$custom-light: #5d4748;
$custom-dark: #000000;
JSON
{
  "hex": "#220102",
  "rgb": {
    "r": 34,
    "g": 1,
    "b": 2
  },
  "hsl": {
    "h": 358.182,
    "s": 94.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.16167,
    "c": 0.06147,
    "h": 24.8
  },
  "luminance": 0.00366
}

Semantic roles & 50–950 ramp

primary
#220102
secondary
#166967
accent
#FFF929
background
#F5F3F4
surface
#E9E5E6
border
#C5C1C2
text
#040000
muted
#797777

Preview Lab

Preview with #220102

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

Preview Lab → · Contrast checker → · Palette generator →

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