#120102#120102

#120102 is a very dark, muted red. Relative luminance 0.002; OKLCH L 12.1% C 0.041 H 19.0°. Best body text is #FFFFFF at 20.37:1 contrast (WCAG AA passes).

Color values

HEX#120102
RGBrgb(18, 1, 2)
HSLhsl(356, 89%, 4%)
HSVhsv(356, 94%, 7%)
CMYKcmyk(0%, 94.4%, 88.9%, 92.9%)
CIE-LABlab(1.40, 5.09, 1.37)
CIE-LCHlch(1.40, 5.27, 15.01°)
OKLaboklab(12.08% 0.0388 0.0133)
OKLCHoklch(12.08% 0.041 19)
XYZxyz(0.2713, 0.1547, 0.0730)
Luminance0.0015 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120102 #011211
analogous
#12010A #120102 #120801
triadic
#120102 #021201 #010212
tetradic
#120102 #0A1201 #011211 #080112
square
#120102 #0A1201 #011211 #080112
split-complementary
#120102 #011208 #010A12
monochromatic
#1D0203 #1D0203 #1D0203 #4C0408 #86070F

Accessibility & contrast

On white

20.37
#120102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#120102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120102
20.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120102#FFFFFF#000000##FFFFFF
##1201021.0020.371.0320.37
#FFFFFF20.371.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040302
Deuteranopia (green-blind)
#080602
Tritanopia (blue-blind)
#150001
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #120102;
/* rgb */ color: rgb(18, 1, 2);
/* oklch */ color: oklch(12.1% 0.041 19.0);
Tailwind
colors: {
  custom: {
    50: '#4f4748',
    500: '#120102',
    950: '#000000',
  },
}
SCSS
$custom: #120102;
$custom-light: #4f4748;
$custom-dark: #000000;
JSON
{
  "hex": "#120102",
  "rgb": {
    "r": 18,
    "g": 1,
    "b": 2
  },
  "hsl": {
    "h": 356.471,
    "s": 89.474,
    "l": 3.725
  },
  "oklch": {
    "l": 0.12077,
    "c": 0.04105,
    "h": 19
  },
  "luminance": 0.00155
}

Semantic roles & 50–950 ramp

primary
#120102
secondary
#155A56
accent
#FFF229
background
#F4F3F4
surface
#E7E5E6
border
#C3C1C2
text
#020000
muted
#787777

Preview Lab

Preview with #120102

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

Preview Lab → · Contrast checker → · Palette generator →

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