#120202#120202

#120202 is a very dark, muted red. Relative luminance 0.002; OKLCH L 12.5% C 0.037 H 24.1°. Best body text is #FFFFFF at 20.29:1 contrast (WCAG AA passes).

Color values

HEX#120202
RGBrgb(18, 2, 2)
HSLhsl(0, 80%, 4%)
HSVhsv(0, 89%, 7%)
CMYKcmyk(0%, 88.9%, 88.9%, 92.9%)
CIE-LABlab(1.59, 4.69, 1.65)
CIE-LCHlch(1.59, 4.97, 19.41°)
OKLaboklab(12.52% 0.0336 0.015)
OKLCHoklch(12.52% 0.037 24.1)
XYZxyz(0.2821, 0.1764, 0.0766)
Luminance0.0018 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120202 #021212
analogous
#12020A #120202 #120A02
triadic
#120202 #021202 #020212
tetradic
#120202 #0A1202 #021212 #0A0212
square
#120202 #0A1202 #021212 #0A0212
split-complementary
#120202 #02120A #020A12
monochromatic
#1C0303 #1C0303 #1C0303 #490808 #800E0E

Accessibility & contrast

On white

20.29
#120202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#120202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120202
20.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120202#FFFFFF#000000##FFFFFF
##1202021.0020.291.0420.29
#FFFFFF20.291.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050402
Deuteranopia (green-blind)
#090702
Tritanopia (blue-blind)
#150102
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #120202;
/* rgb */ color: rgb(18, 2, 2);
/* oklch */ color: oklch(12.5% 0.037 24.1);
Tailwind
colors: {
  custom: {
    50: '#4f4748',
    500: '#120202',
    950: '#000000',
  },
}
SCSS
$custom: #120202;
$custom-light: #4f4748;
$custom-dark: #000000;
JSON
{
  "hex": "#120202",
  "rgb": {
    "r": 18,
    "g": 2,
    "b": 2
  },
  "hsl": {
    "h": 0,
    "s": 80,
    "l": 3.922
  },
  "oklch": {
    "l": 0.12524,
    "c": 0.03677,
    "h": 24.1
  },
  "luminance": 0.00176
}

Semantic roles & 50–950 ramp

primary
#120202
secondary
#195757
accent
#F6F631
background
#F4F4F4
surface
#E7E6E6
border
#C3C2C2
text
#020000
muted
#787777

Preview Lab

Preview with #120202

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

Preview Lab → · Contrast checker → · Palette generator →

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