#24020B#24020B

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

Color values

HEX#24020B
RGBrgb(36, 2, 11)
HSLhsl(344, 89%, 7%)
HSVhsv(344, 94%, 14%)
CMYKcmyk(0%, 94.4%, 69.4%, 85.9%)
CIE-LABlab(4.00, 15.93, 1.76)
CIE-LCHlch(4.00, 16.02, 6.29°)
OKLaboklab(17.22% 0.061 0.0079)
OKLCHoklch(17.22% 0.062 7.3)
XYZxyz(0.8097, 0.4428, 0.3594)
Luminance0.0044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24020B #02241B
analogous
#24021C #24020B #240A02
triadic
#24020B #0B2402 #020B24
tetradic
#24020B #1C2402 #02241B #0A0224
square
#24020B #1C2402 #02241B #0A0224
split-complementary
#24020B #02240A #021C24
monochromatic
#1D0209 #1D0209 #24020B #5E051D #98082E

Accessibility & contrast

On white

19.29
#24020B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24020B
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24020B#FFFFFF#000000##FFFFFF
##24020B1.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24020b;
/* rgb */ color: rgb(36, 2, 11);
/* oklch */ color: oklch(17.2% 0.062 7.3);
Tailwind
colors: {
  custom: {
    50: '#5f474c',
    500: '#24020b',
    950: '#000000',
  },
}
SCSS
$custom: #24020b;
$custom-light: #5f474c;
$custom-dark: #000000;
JSON
{
  "hex": "#24020b",
  "rgb": {
    "r": 36,
    "g": 2,
    "b": 11
  },
  "hsl": {
    "h": 344.118,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17218,
    "c": 0.06155,
    "h": 7.3
  },
  "luminance": 0.00443
}

Semantic roles & 50–950 ramp

primary
#24020B
secondary
#186A54
accent
#FFC629
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#050001
muted
#797777

Preview Lab

Preview with #24020B

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

Preview Lab → · Contrast checker → · Palette generator →

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