#24020C#24020C

#24020C is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 17.3% C 0.062 H 5.5°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#24020C
RGBrgb(36, 2, 12)
HSLhsl(342, 89%, 7%)
HSVhsv(342, 94%, 14%)
CMYKcmyk(0%, 94.4%, 66.7%, 85.9%)
CIE-LABlab(4.02, 16.08, 1.34)
CIE-LCHlch(4.02, 16.14, 4.78°)
OKLaboklab(17.25% 0.0615 0.006)
OKLCHoklch(17.25% 0.062 5.5)
XYZxyz(0.8157, 0.4451, 0.3907)
Luminance0.0044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24020C #02241A
analogous
#24021D #24020C #240902
triadic
#24020C #0C2402 #020C24
tetradic
#24020C #1D2402 #02241A #090224
square
#24020C #1D2402 #02241A #090224
split-complementary
#24020C #022409 #021D24
monochromatic
#1D020A #1D020A #24020C #5E051F #980833

Accessibility & contrast

On white

19.28
#24020C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#24020C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24020C
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24020C#FFFFFF#000000##FFFFFF
##24020C1.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08090C
Deuteranopia (green-blind)
#12110B
Tritanopia (blue-blind)
#280005
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #24020c;
/* rgb */ color: rgb(36, 2, 12);
/* oklch */ color: oklch(17.3% 0.062 5.5);
Tailwind
colors: {
  custom: {
    50: '#5f474c',
    500: '#24020c',
    950: '#000000',
  },
}
SCSS
$custom: #24020c;
$custom-light: #5f474c;
$custom-dark: #000000;
JSON
{
  "hex": "#24020c",
  "rgb": {
    "r": 36,
    "g": 2,
    "b": 12
  },
  "hsl": {
    "h": 342.353,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17254,
    "c": 0.06182,
    "h": 5.5
  },
  "luminance": 0.00445
}

Semantic roles & 50–950 ramp

primary
#24020C
secondary
#186A52
accent
#FFC029
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#050001
muted
#797777

Preview Lab

Preview with #24020C

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

Preview Lab → · Contrast checker → · Palette generator →

#24020C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva