#24020E#24020E

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

Color values

HEX#24020E
RGBrgb(36, 2, 14)
HSLhsl(339, 89%, 7%)
HSVhsv(339, 94%, 14%)
CMYKcmyk(0%, 94.4%, 61.1%, 85.9%)
CIE-LABlab(4.07, 16.41, 0.45)
CIE-LCHlch(4.07, 16.42, 1.58°)
OKLaboklab(17.33% 0.0625 0.0021)
OKLCHoklch(17.33% 0.062 1.9)
XYZxyz(0.8286, 0.4503, 0.4587)
Luminance0.0045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24020E #022418
analogous
#24021F #24020E #240702
triadic
#24020E #0E2402 #020E24
tetradic
#24020E #1F2402 #022418 #070224
square
#24020E #1F2402 #022418 #070224
split-complementary
#24020E #022407 #021F24
monochromatic
#1D020B #1D020B #24020E #5E0525 #98083B

Accessibility & contrast

On white

19.27
#24020E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24020E
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24020E#FFFFFF#000000##FFFFFF
##24020E1.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080A0E
Deuteranopia (green-blind)
#12110D
Tritanopia (blue-blind)
#280006
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #24020e;
/* rgb */ color: rgb(36, 2, 14);
/* oklch */ color: oklch(17.3% 0.062 1.9);
Tailwind
colors: {
  custom: {
    50: '#5f474d',
    500: '#24020e',
    950: '#000000',
  },
}
SCSS
$custom: #24020e;
$custom-light: #5f474d;
$custom-dark: #000000;
JSON
{
  "hex": "#24020e",
  "rgb": {
    "r": 36,
    "g": 2,
    "b": 14
  },
  "hsl": {
    "h": 338.824,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17332,
    "c": 0.06249,
    "h": 1.9
  },
  "luminance": 0.0045
}

Semantic roles & 50–950 ramp

primary
#24020E
secondary
#186A4D
accent
#FFB329
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#050001
muted
#797777

Preview Lab

Preview with #24020E

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

Preview Lab → · Contrast checker → · Palette generator →

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