#240405#240405

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

Color values

HEX#240405
RGBrgb(36, 4, 5)
HSLhsl(358, 80%, 8%)
HSVhsv(358, 89%, 14%)
CMYKcmyk(0%, 88.9%, 86.1%, 85.9%)
CIE-LABlab(4.27, 14.29, 4.61)
CIE-LCHlch(4.27, 15.02, 17.87°)
OKLaboklab(17.47% 0.052 0.0218)
OKLCHoklch(17.47% 0.056 22.8)
XYZxyz(0.7985, 0.4730, 0.1928)
Luminance0.0047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240405 #042423
analogous
#240415 #240405 #241304
triadic
#240405 #052404 #040524
tetradic
#240405 #152404 #042423 #130424
square
#240405 #152404 #042423 #130424
split-complementary
#240405 #042413 #041524
monochromatic
#1C0304 #1C0304 #240405 #5B0A0D #921014

Accessibility & contrast

On white

19.19
#240405 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#240405 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240405
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240405#FFFFFF#000000##FFFFFF
##2404051.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #240405;
/* rgb */ color: rgb(36, 4, 5);
/* oklch */ color: oklch(17.5% 0.056 22.8);
Tailwind
colors: {
  custom: {
    50: '#5f4849',
    500: '#240405',
    950: '#000000',
  },
}
SCSS
$custom: #240405;
$custom-light: #5f4849;
$custom-dark: #000000;
JSON
{
  "hex": "#240405",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 5
  },
  "hsl": {
    "h": 358.125,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17471,
    "c": 0.05635,
    "h": 22.8
  },
  "luminance": 0.00473
}

Semantic roles & 50–950 ramp

primary
#240405
secondary
#1D6764
accent
#F6F031
background
#F5F4F4
surface
#E9E6E6
border
#C5C2C2
text
#050000
muted
#797777

Preview Lab

Preview with #240405

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

Preview Lab → · Contrast checker → · Palette generator →

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