#240408#240408

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

Color values

HEX#240408
RGBrgb(36, 4, 8)
HSLhsl(353, 80%, 8%)
HSVhsv(353, 89%, 14%)
CMYKcmyk(0%, 88.9%, 77.8%, 85.9%)
CIE-LABlab(4.33, 14.71, 3.47)
CIE-LCHlch(4.33, 15.12, 13.28°)
OKLaboklab(17.57% 0.054 0.0155)
OKLCHoklch(17.57% 0.056 16)
XYZxyz(0.8149, 0.4795, 0.2793)
Luminance0.0048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240408 #042420
analogous
#240418 #240408 #241004
triadic
#240408 #082404 #040824
tetradic
#240408 #182404 #042420 #100424
square
#240408 #182404 #042420 #100424
split-complementary
#240408 #042410 #041824
monochromatic
#1C0306 #1C0306 #240408 #5B0A14 #921020

Accessibility & contrast

On white

19.16
#240408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240408
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240408#FFFFFF#000000##FFFFFF
##2404081.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0B08
Deuteranopia (green-blind)
#141207
Tritanopia (blue-blind)
#280005
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #240408;
/* rgb */ color: rgb(36, 4, 8);
/* oklch */ color: oklch(17.6% 0.056 16.0);
Tailwind
colors: {
  custom: {
    50: '#5f484a',
    500: '#240408',
    950: '#000000',
  },
}
SCSS
$custom: #240408;
$custom-light: #5f484a;
$custom-dark: #000000;
JSON
{
  "hex": "#240408",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 8
  },
  "hsl": {
    "h": 352.5,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17567,
    "c": 0.05614,
    "h": 16
  },
  "luminance": 0.00479
}

Semantic roles & 50–950 ramp

primary
#240408
secondary
#1D675E
accent
#F6DE31
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#050001
muted
#797777

Preview Lab

Preview with #240408

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

Preview Lab → · Contrast checker → · Palette generator →

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