#180204#180204

#180204 is a very dark, muted red. Relative luminance 0.002; OKLCH L 14.1% C 0.045 H 16.4°. Best body text is #FFFFFF at 20.02:1 contrast (WCAG AA passes).

Color values

HEX#180204
RGBrgb(24, 2, 4)
HSLhsl(355, 85%, 5%)
HSVhsv(355, 92%, 9%)
CMYKcmyk(0%, 91.7%, 83.3%, 90.6%)
CIE-LABlab(2.23, 7.63, 1.83)
CIE-LCHlch(2.23, 7.84, 13.50°)
OKLaboklab(14.08% 0.0435 0.0128)
OKLCHoklch(14.08% 0.045 16.4)
XYZxyz(0.4204, 0.2464, 0.1403)
Luminance0.0025 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180204 #021816
analogous
#18020F #180204 #180B02
triadic
#180204 #041802 #020418
tetradic
#180204 #0F1802 #021816 #0B0218
square
#180204 #0F1802 #021816 #0B0218
split-complementary
#180204 #02180B #020F18
monochromatic
#1C0205 #1C0205 #1C0205 #50070D #890B17

Accessibility & contrast

On white

20.02
#180204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180204
20.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180204#FFFFFF#000000##FFFFFF
##1802041.0020.021.0520.02
#FFFFFF20.021.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060504
Deuteranopia (green-blind)
#0C0A04
Tritanopia (blue-blind)
#1B0003
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #180204;
/* rgb */ color: rgb(24, 2, 4);
/* oklch */ color: oklch(14.1% 0.045 16.4);
Tailwind
colors: {
  custom: {
    50: '#544748',
    500: '#180204',
    950: '#000000',
  },
}
SCSS
$custom: #180204;
$custom-light: #544748;
$custom-dark: #000000;
JSON
{
  "hex": "#180204",
  "rgb": {
    "r": 24,
    "g": 2,
    "b": 4
  },
  "hsl": {
    "h": 354.545,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.14075,
    "c": 0.04532,
    "h": 16.4
  },
  "luminance": 0.00246
}

Semantic roles & 50–950 ramp

primary
#180204
secondary
#185E57
accent
#FBE82D
background
#F4F4F4
surface
#E7E6E6
border
#C3C2C2
text
#020000
muted
#787777

Preview Lab

Preview with #180204

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

Preview Lab → · Contrast checker → · Palette generator →

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