#24041E#24041E

#24041E is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.6% C 0.068 H 336.2°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#24041E
RGBrgb(36, 4, 30)
HSLhsl(311, 80%, 8%)
HSVhsv(311, 89%, 14%)
CMYKcmyk(0%, 88.9%, 16.7%, 85.9%)
CIE-LABlab(5.02, 19.15, -9.26)
CIE-LCHlch(5.02, 21.28, 334.19°)
OKLaboklab(18.61% 0.0622 -0.0275)
OKLCHoklch(18.61% 0.068 336.2)
XYZxyz(1.0053, 0.5557, 1.2824)
Luminance0.0056 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24041E #04240A
analogous
#1A0424 #24041E #24040E
triadic
#24041E #1E2404 #041E24
tetradic
#24041E #241A04 #04240A #040E24
square
#24041E #241A04 #04240A #040E24
split-complementary
#24041E #0E2404 #04241A
monochromatic
#1C0317 #1C0317 #24041E #5B0A4C #92107A

Accessibility & contrast

On white

18.90
#24041E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#24041E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24041E
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24041E#FFFFFF#000000##FFFFFF
##24041E1.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040E1F
Deuteranopia (green-blind)
#0E131D
Tritanopia (blue-blind)
#26050F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #24041e;
/* rgb */ color: rgb(36, 4, 30);
/* oklch */ color: oklch(18.6% 0.068 336.2);
Tailwind
colors: {
  custom: {
    50: '#5f4859',
    500: '#24041e',
    950: '#000000',
  },
}
SCSS
$custom: #24041e;
$custom-light: #5f4859;
$custom-dark: #000000;
JSON
{
  "hex": "#24041e",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 30
  },
  "hsl": {
    "h": 311.25,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18611,
    "c": 0.06795,
    "h": 336.2
  },
  "luminance": 0.00556
}

Semantic roles & 50–950 ramp

primary
#24041E
secondary
#1D672B
accent
#F65631
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#050003
muted
#797778

Preview Lab

Preview with #24041E

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

Preview Lab → · Contrast checker → · Palette generator →

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