#240406#240406

#240406 is a very dark, muted red. Relative luminance 0.005; OKLCH L 17.5% C 0.056 H 20.4°. Best body text is #FFFFFF at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#240406
RGBrgb(36, 4, 6)
HSLhsl(356, 80%, 8%)
HSVhsv(356, 89%, 14%)
CMYKcmyk(0%, 88.9%, 83.3%, 85.9%)
CIE-LABlab(4.29, 14.43, 4.23)
CIE-LCHlch(4.29, 15.04, 16.34°)
OKLaboklab(17.5% 0.0527 0.0196)
OKLCHoklch(17.5% 0.056 20.4)
XYZxyz(0.8039, 0.4752, 0.2216)
Luminance0.0047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240406 #042422
analogous
#240416 #240406 #241204
triadic
#240406 #062404 #040624
tetradic
#240406 #162404 #042422 #120424
square
#240406 #162404 #042422 #120424
split-complementary
#240406 #042412 #041624
monochromatic
#1C0305 #1C0305 #240406 #5B0A0F #921018

Accessibility & contrast

On white

19.18
#240406 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#240406 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240406
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240406#FFFFFF#000000##FFFFFF
##2404061.0019.181.1019.18
#FFFFFF19.181.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0A06
Deuteranopia (green-blind)
#141205
Tritanopia (blue-blind)
#290005
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #240406;
/* rgb */ color: rgb(36, 4, 6);
/* oklch */ color: oklch(17.5% 0.056 20.4);
Tailwind
colors: {
  custom: {
    50: '#5f4849',
    500: '#240406',
    950: '#000000',
  },
}
SCSS
$custom: #240406;
$custom-light: #5f4849;
$custom-dark: #000000;
JSON
{
  "hex": "#240406",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 6
  },
  "hsl": {
    "h": 356.25,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17503,
    "c": 0.05621,
    "h": 20.4
  },
  "luminance": 0.00475
}

Semantic roles & 50–950 ramp

primary
#240406
secondary
#1D6762
accent
#F6EA31
background
#F5F4F4
surface
#E9E6E6
border
#C5C2C2
text
#050000
muted
#797777

Preview Lab

Preview with #240406

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

Preview Lab → · Contrast checker → · Palette generator →

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