#24040D#24040D

#24040D is a very dark, muted pink. Relative luminance 0.005; OKLCH L 17.7% C 0.057 H 6.2°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#24040D
RGBrgb(36, 4, 13)
HSLhsl(343, 80%, 8%)
HSVhsv(343, 89%, 14%)
CMYKcmyk(0%, 88.9%, 63.9%, 85.9%)
CIE-LABlab(4.44, 15.44, 1.48)
CIE-LCHlch(4.44, 15.51, 5.48°)
OKLaboklab(17.73% 0.0566 0.0062)
OKLCHoklch(17.73% 0.057 6.2)
XYZxyz(0.8437, 0.4911, 0.4311)
Luminance0.0049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24040D #04241B
analogous
#24041D #24040D #240B04
triadic
#24040D #0D2404 #040D24
tetradic
#24040D #1D2404 #04241B #0B0424
square
#24040D #1D2404 #04241B #0B0424
split-complementary
#24040D #04240B #041D24
monochromatic
#1C030A #1C030A #24040D #5B0A21 #921035

Accessibility & contrast

On white

19.12
#24040D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24040D
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24040D#FFFFFF#000000##FFFFFF
##24040D1.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0B0D
Deuteranopia (green-blind)
#13120C
Tritanopia (blue-blind)
#280107
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #24040d;
/* rgb */ color: rgb(36, 4, 13);
/* oklch */ color: oklch(17.7% 0.057 6.2);
Tailwind
colors: {
  custom: {
    50: '#5f484d',
    500: '#24040d',
    950: '#000000',
  },
}
SCSS
$custom: #24040d;
$custom-light: #5f484d;
$custom-dark: #000000;
JSON
{
  "hex": "#24040d",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 13
  },
  "hsl": {
    "h": 343.125,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17733,
    "c": 0.05691,
    "h": 6.2
  },
  "luminance": 0.00491
}

Semantic roles & 50–950 ramp

primary
#24040D
secondary
#1D6752
accent
#F6BF31
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#050001
muted
#797777

Preview Lab

Preview with #24040D

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

Preview Lab → · Contrast checker → · Palette generator →

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