#240004#240004

#240004 is a very dark, moderate red. Relative luminance 0.004; OKLCH L 16.5% C 0.066 H 18.4°. Best body text is #FFFFFF at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#240004
RGBrgb(36, 0, 4)
HSLhsl(353, 100%, 7%)
HSVhsv(353, 100%, 14%)
CMYKcmyk(0%, 100%, 88.9%, 85.9%)
CIE-LABlab(3.47, 15.76, 3.84)
CIE-LCHlch(3.47, 16.22, 13.70°)
OKLaboklab(16.49% 0.0627 0.0208)
OKLCHoklch(16.49% 0.066 18.4)
XYZxyz(0.7496, 0.3840, 0.1495)
Luminance0.0038 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240004 #002420
analogous
#240016 #240004 #240E00
triadic
#240004 #042400 #000424
tetradic
#240004 #162400 #002420 #0E0024
square
#240004 #162400 #002420 #0E0024
split-complementary
#240004 #00240E #001624
monochromatic
#1F0003 #1F0003 #240004 #61000B #9E0012

Accessibility & contrast

On white

19.50
#240004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240004
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240004#FFFFFF#000000##FFFFFF
##2400041.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080704
Deuteranopia (green-blind)
#121003
Tritanopia (blue-blind)
#290001
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #240004;
/* rgb */ color: rgb(36, 0, 4);
/* oklch */ color: oklch(16.5% 0.066 18.4);
Tailwind
colors: {
  custom: {
    50: '#5f4648',
    500: '#240004',
    950: '#000000',
  },
}
SCSS
$custom: #240004;
$custom-light: #5f4648;
$custom-dark: #000000;
JSON
{
  "hex": "#240004",
  "rgb": {
    "r": 36,
    "g": 0,
    "b": 4
  },
  "hsl": {
    "h": 353.333,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.16494,
    "c": 0.0661,
    "h": 18.4
  },
  "luminance": 0.00384
}

Semantic roles & 50–950 ramp

primary
#240004
secondary
#136D63
accent
#FFE729
background
#F5F3F4
surface
#E9E5E6
border
#C5C1C2
text
#050000
muted
#797777

Preview Lab

Preview with #240004

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

Preview Lab → · Contrast checker → · Palette generator →

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