#180202#180202

#180202 is a very dark, muted red. Relative luminance 0.002; OKLCH L 14.0% C 0.046 H 25.3°. Best body text is #FFFFFF at 20.03:1 contrast (WCAG AA passes).

Color values

HEX#180202
RGBrgb(24, 2, 2)
HSLhsl(0, 85%, 5%)
HSVhsv(0, 92%, 9%)
CMYKcmyk(0%, 91.7%, 91.7%, 90.6%)
CIE-LABlab(2.19, 7.34, 2.59)
CIE-LCHlch(2.19, 7.79, 19.42°)
OKLaboklab(13.98% 0.0413 0.0196)
OKLCHoklch(13.98% 0.046 25.3)
XYZxyz(0.4094, 0.2421, 0.0826)
Luminance0.0024 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180202 #021818
analogous
#18020D #180202 #180D02
triadic
#180202 #021802 #020218
tetradic
#180202 #0D1802 #021818 #0D0218
square
#180202 #0D1802 #021818 #0D0218
split-complementary
#180202 #02180D #020D18
monochromatic
#1C0202 #1C0202 #1C0202 #500707 #890B0B

Accessibility & contrast

On white

20.03
#180202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#180202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180202
20.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180202#FFFFFF#000000##FFFFFF
##1802021.0020.031.0520.03
#FFFFFF20.031.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060502
Deuteranopia (green-blind)
#0C0A02
Tritanopia (blue-blind)
#1C0002
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #180202;
/* rgb */ color: rgb(24, 2, 2);
/* oklch */ color: oklch(14.0% 0.046 25.3);
Tailwind
colors: {
  custom: {
    50: '#534748',
    500: '#180202',
    950: '#000000',
  },
}
SCSS
$custom: #180202;
$custom-light: #534748;
$custom-dark: #000000;
JSON
{
  "hex": "#180202",
  "rgb": {
    "r": 24,
    "g": 2,
    "b": 2
  },
  "hsl": {
    "h": 0,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.13975,
    "c": 0.04569,
    "h": 25.3
  },
  "luminance": 0.00242
}

Semantic roles & 50–950 ramp

primary
#180202
secondary
#185E5E
accent
#FBFB2D
background
#F4F4F4
surface
#E7E6E6
border
#C3C2C2
text
#020000
muted
#787777

Preview Lab

Preview with #180202

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

Preview Lab → · Contrast checker → · Palette generator →

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