#24021E#24021E

#24021E is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.2% C 0.073 H 335.9°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#24021E
RGBrgb(36, 2, 30)
HSLhsl(311, 89%, 7%)
HSVhsv(311, 94%, 14%)
CMYKcmyk(0%, 94.4%, 16.7%, 85.9%)
CIE-LABlab(4.63, 20.05, -9.85)
CIE-LCHlch(4.63, 22.34, 333.83°)
OKLaboklab(18.22% 0.0668 -0.0299)
OKLCHoklch(18.22% 0.073 335.9)
XYZxyz(0.9836, 0.5123, 1.2751)
Luminance0.0051 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24021E #022408
analogous
#190224 #24021E #24020D
triadic
#24021E #1E2402 #021E24
tetradic
#24021E #241902 #022408 #020D24
square
#24021E #241902 #022408 #020D24
split-complementary
#24021E #0D2402 #022419
monochromatic
#1D0218 #1D0218 #24021E #5E054E #98087F

Accessibility & contrast

On white

19.05
#24021E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#24021E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24021E
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24021E#FFFFFF#000000##FFFFFF
##24021E1.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020C1F
Deuteranopia (green-blind)
#0D121D
Tritanopia (blue-blind)
#26040E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #24021e;
/* rgb */ color: rgb(36, 2, 30);
/* oklch */ color: oklch(18.2% 0.073 335.9);
Tailwind
colors: {
  custom: {
    50: '#5f4759',
    500: '#24021e',
    950: '#000000',
  },
}
SCSS
$custom: #24021e;
$custom-light: #5f4759;
$custom-dark: #000000;
JSON
{
  "hex": "#24021e",
  "rgb": {
    "r": 36,
    "g": 2,
    "b": 30
  },
  "hsl": {
    "h": 310.588,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.18215,
    "c": 0.07321,
    "h": 335.9
  },
  "luminance": 0.00512
}

Semantic roles & 50–950 ramp

primary
#24021E
secondary
#186A27
accent
#FF4F29
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#050003
muted
#797778

Preview Lab

Preview with #24021E

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

Preview Lab → · Contrast checker → · Palette generator →

#24021E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva