#240B04#240B04

#240B04 is a very dark, muted red. Relative luminance 0.006; OKLCH L 18.9% C 0.046 H 39.2°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#240B04
RGBrgb(36, 11, 4)
HSLhsl(13, 80%, 8%)
HSVhsv(13, 89%, 14%)
CMYKcmyk(0%, 69.4%, 88.9%, 85.9%)
CIE-LABlab(5.63, 11.33, 7.00)
CIE-LCHlch(5.63, 13.31, 31.71°)
OKLaboklab(18.88% 0.0354 0.0288)
OKLCHoklch(18.88% 0.046 39.2)
XYZxyz(0.8692, 0.6233, 0.1894)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240B04 #041D24
analogous
#24040D #240B04 #241B04
triadic
#240B04 #04240B #0B0424
tetradic
#240B04 #0D2404 #041D24 #1B0424
square
#240B04 #0D2404 #041D24 #1B0424
split-complementary
#240B04 #04241B #040D24
monochromatic
#1C0803 #1C0803 #240B04 #5B1C0A #922D10

Accessibility & contrast

On white

18.67
#240B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#240B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240B04
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240B04#FFFFFF#000000##FFFFFF
##240B041.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F03
Deuteranopia (green-blind)
#181504
Tritanopia (blue-blind)
#280609
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #240b04;
/* rgb */ color: rgb(36, 11, 4);
/* oklch */ color: oklch(18.9% 0.046 39.2);
Tailwind
colors: {
  custom: {
    50: '#5f4b48',
    500: '#240b04',
    950: '#000000',
  },
}
SCSS
$custom: #240b04;
$custom-light: #5f4b48;
$custom-dark: #000000;
JSON
{
  "hex": "#240b04",
  "rgb": {
    "r": 36,
    "g": 11,
    "b": 4
  },
  "hsl": {
    "h": 13.125,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18876,
    "c": 0.04564,
    "h": 39.2
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#240B04
secondary
#1D5767
accent
#CBF631
background
#F5F4F4
surface
#E9E7E6
border
#C5C3C2
text
#050100
muted
#797777

Preview Lab

Preview with #240B04

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

Preview Lab → · Contrast checker → · Palette generator →

#240B04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva