#24040A#24040A

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

Color values

HEX#24040A
RGBrgb(36, 4, 10)
HSLhsl(349, 80%, 8%)
HSVhsv(349, 89%, 14%)
CMYKcmyk(0%, 88.9%, 72.2%, 85.9%)
CIE-LABlab(4.37, 14.99, 2.72)
CIE-LCHlch(4.37, 15.23, 10.27°)
OKLaboklab(17.63% 0.0551 0.0117)
OKLCHoklch(17.63% 0.056 12)
XYZxyz(0.8258, 0.4839, 0.3370)
Luminance0.0048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24040A #04241E
analogous
#24041A #24040A #240E04
triadic
#24040A #0A2404 #040A24
tetradic
#24040A #1A2404 #04241E #0E0424
square
#24040A #1A2404 #04241E #0E0424
split-complementary
#24040A #04240E #041A24
monochromatic
#1C0308 #1C0308 #24040A #5B0A19 #921029

Accessibility & contrast

On white

19.15
#24040A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#24040A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24040A
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24040A#FFFFFF#000000##FFFFFF
##24040A1.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0B0A
Deuteranopia (green-blind)
#141209
Tritanopia (blue-blind)
#280106
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #24040a;
/* rgb */ color: rgb(36, 4, 10);
/* oklch */ color: oklch(17.6% 0.056 12.0);
Tailwind
colors: {
  custom: {
    50: '#5f484b',
    500: '#24040a',
    950: '#000000',
  },
}
SCSS
$custom: #24040a;
$custom-light: #5f484b;
$custom-dark: #000000;
JSON
{
  "hex": "#24040a",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 348.75,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17631,
    "c": 0.0563,
    "h": 12
  },
  "luminance": 0.00484
}

Semantic roles & 50–950 ramp

primary
#24040A
secondary
#1D6759
accent
#F6D131
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#050001
muted
#797777

Preview Lab

Preview with #24040A

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

Preview Lab → · Contrast checker → · Palette generator →

#24040A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva