#24031D#24031D

#24031D is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.3% C 0.070 H 337.5°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#24031D
RGBrgb(36, 3, 29)
HSLhsl(313, 85%, 8%)
HSVhsv(313, 92%, 14%)
CMYKcmyk(0%, 91.7%, 19.4%, 85.9%)
CIE-LABlab(4.78, 19.33, -8.84)
CIE-LCHlch(4.78, 21.26, 335.43°)
OKLaboklab(18.35% 0.0643 -0.0267)
OKLCHoklch(18.35% 0.07 337.5)
XYZxyz(0.9819, 0.5290, 1.2126)
Luminance0.0053 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24031D #03240A
analogous
#1A0324 #24031D #24030D
triadic
#24031D #1D2403 #031D24
tetradic
#24031D #241A03 #03240A #030D24
square
#24031D #241A03 #03240A #030D24
split-complementary
#24031D #0D2403 #03241A
monochromatic
#1C0217 #1C0217 #24031D #5C084B #950C78

Accessibility & contrast

On white

18.99
#24031D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#24031D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24031D
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24031D#FFFFFF#000000##FFFFFF
##24031D1.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040D1E
Deuteranopia (green-blind)
#0E121C
Tritanopia (blue-blind)
#27040E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #24031d;
/* rgb */ color: rgb(36, 3, 29);
/* oklch */ color: oklch(18.3% 0.070 337.5);
Tailwind
colors: {
  custom: {
    50: '#5f4758',
    500: '#24031d',
    950: '#000000',
  },
}
SCSS
$custom: #24031d;
$custom-light: #5f4758;
$custom-dark: #000000;
JSON
{
  "hex": "#24031d",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 29
  },
  "hsl": {
    "h": 312.727,
    "s": 84.615,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18349,
    "c": 0.06965,
    "h": 337.5
  },
  "luminance": 0.00529
}

Semantic roles & 50–950 ramp

primary
#24031D
secondary
#1B682B
accent
#FB592D
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#050003
muted
#797778

Preview Lab

Preview with #24031D

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

Preview Lab → · Contrast checker → · Palette generator →

#24031D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva