#24001B#24001B

#24001B is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 17.6% C 0.077 H 339.7°. Best body text is #FFFFFF at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#24001B
RGBrgb(36, 0, 27)
HSLhsl(315, 100%, 7%)
HSVhsv(315, 100%, 14%)
CMYKcmyk(0%, 100%, 25%, 85.9%)
CIE-LABlab(4.10, 20.11, -8.25)
CIE-LCHlch(4.10, 21.74, 337.69°)
OKLaboklab(17.59% 0.0718 -0.0265)
OKLCHoklch(17.59% 0.077 339.7)
XYZxyz(0.9254, 0.4543, 1.0757)
Luminance0.0045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24001B #002409
analogous
#1B0024 #24001B #240009
triadic
#24001B #1B2400 #001B24
tetradic
#24001B #241B00 #002409 #000924
square
#24001B #241B00 #002409 #000924
split-complementary
#24001B #092400 #00241B
monochromatic
#1F0017 #1F0017 #24001B #610049 #9E0077

Accessibility & contrast

On white

19.25
#24001B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24001B
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24001B#FFFFFF#000000##FFFFFF
##24001B1.0019.251.0919.25
#FFFFFF19.251.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010A1C
Deuteranopia (green-blind)
#0D111A
Tritanopia (blue-blind)
#27010B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #24001b;
/* rgb */ color: rgb(36, 0, 27);
/* oklch */ color: oklch(17.6% 0.077 339.7);
Tailwind
colors: {
  custom: {
    50: '#5f4657',
    500: '#24001b',
    950: '#000000',
  },
}
SCSS
$custom: #24001b;
$custom-light: #5f4657;
$custom-dark: #000000;
JSON
{
  "hex": "#24001b",
  "rgb": {
    "r": 36,
    "g": 0,
    "b": 27
  },
  "hsl": {
    "h": 315,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17591,
    "c": 0.07652,
    "h": 339.7
  },
  "luminance": 0.00454
}

Semantic roles & 50–950 ramp

primary
#24001B
secondary
#136D2A
accent
#FF5E29
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#050003
muted
#797678

Preview Lab

Preview with #24001B

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

Preview Lab → · Contrast checker → · Palette generator →

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