#180402#180402

#180402 is a very dark, muted red. Relative luminance 0.003; OKLCH L 14.6% C 0.040 H 32.7°. Best body text is #FFFFFF at 19.87:1 contrast (WCAG AA passes).

Color values

HEX#180402
RGBrgb(24, 4, 2)
HSLhsl(5, 85%, 5%)
HSVhsv(5, 92%, 9%)
CMYKcmyk(0%, 83.3%, 91.7%, 90.6%)
CIE-LABlab(2.58, 6.54, 3.16)
CIE-LCHlch(2.58, 7.27, 25.79°)
OKLaboklab(14.64% 0.0338 0.0217)
OKLCHoklch(14.64% 0.04 32.7)
XYZxyz(0.4311, 0.2855, 0.0898)
Luminance0.0029 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180402 #021618
analogous
#18020B #180402 #180F02
triadic
#180402 #021804 #040218
tetradic
#180402 #0B1802 #021618 #0F0218
square
#180402 #0B1802 #021618 #0F0218
split-complementary
#180402 #02180F #020B18
monochromatic
#1C0502 #1C0502 #1C0502 #500D07 #89170B

Accessibility & contrast

On white

19.87
#180402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#180402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180402
19.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180402#FFFFFF#000000##FFFFFF
##1804021.0019.871.0619.87
#FFFFFF19.871.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080702
Deuteranopia (green-blind)
#0E0B02
Tritanopia (blue-blind)
#1B0204
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #180402;
/* rgb */ color: rgb(24, 4, 2);
/* oklch */ color: oklch(14.6% 0.040 32.7);
Tailwind
colors: {
  custom: {
    50: '#544848',
    500: '#180402',
    950: '#000000',
  },
}
SCSS
$custom: #180402;
$custom-light: #544848;
$custom-dark: #000000;
JSON
{
  "hex": "#180402",
  "rgb": {
    "r": 24,
    "g": 4,
    "b": 2
  },
  "hsl": {
    "h": 5.455,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.14636,
    "c": 0.0402,
    "h": 32.7
  },
  "luminance": 0.00285
}

Semantic roles & 50–950 ramp

primary
#180402
secondary
#18575E
accent
#E8FB2D
background
#F4F4F4
surface
#E7E6E6
border
#C3C2C2
text
#020000
muted
#787777

Preview Lab

Preview with #180402

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

Preview Lab → · Contrast checker → · Palette generator →

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