#180804#180804

#180804 is a very dark, muted red. Relative luminance 0.004; OKLCH L 15.9% C 0.031 H 39.4°. Best body text is #FFFFFF at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#180804
RGBrgb(24, 8, 4)
HSLhsl(12, 71%, 5%)
HSVhsv(12, 83%, 9%)
CMYKcmyk(0%, 66.7%, 83.3%, 90.6%)
CIE-LABlab(3.40, 5.22, 3.55)
CIE-LCHlch(3.40, 6.31, 34.21°)
OKLaboklab(15.87% 0.024 0.0197)
OKLCHoklch(15.87% 0.031 39.4)
XYZxyz(0.4855, 0.3767, 0.1620)
Luminance0.0038 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180804 #041418
analogous
#18040A #180804 #181204
triadic
#180804 #041808 #080418
tetradic
#180804 #0A1804 #041418 #120418
square
#180804 #0A1804 #041418 #120418
split-complementary
#180804 #041812 #040A18
monochromatic
#1A0904 #1A0904 #1A0904 #4C190D #812B15

Accessibility & contrast

On white

19.53
#180804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#180804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180804
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180804#FFFFFF#000000##FFFFFF
##1808041.0019.531.0819.53
#FFFFFF19.531.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0A04
Deuteranopia (green-blind)
#100E04
Tritanopia (blue-blind)
#1B0607
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #180804;
/* rgb */ color: rgb(24, 8, 4);
/* oklch */ color: oklch(15.9% 0.031 39.4);
Tailwind
colors: {
  custom: {
    50: '#544a48',
    500: '#180804',
    950: '#000000',
  },
}
SCSS
$custom: #180804;
$custom-light: #544a48;
$custom-dark: #000000;
JSON
{
  "hex": "#180804",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 4
  },
  "hsl": {
    "h": 12,
    "s": 71.429,
    "l": 5.49
  },
  "oklch": {
    "l": 0.15872,
    "c": 0.03102,
    "h": 39.4
  },
  "luminance": 0.00377
}

Semantic roles & 50–950 ramp

primary
#180804
secondary
#1E4E5A
accent
#CAEE3A
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#020100
muted
#787777

Preview Lab

Preview with #180804

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

Preview Lab → · Contrast checker → · Palette generator →

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