#24031C#24031C

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

Color values

HEX#24031C
RGBrgb(36, 3, 28)
HSLhsl(315, 85%, 8%)
HSVhsv(315, 92%, 14%)
CMYKcmyk(0%, 91.7%, 22.2%, 85.9%)
CIE-LABlab(4.73, 19.07, -8.11)
CIE-LCHlch(4.73, 20.73, 336.95°)
OKLaboklab(18.28% 0.0642 -0.0247)
OKLCHoklch(18.28% 0.069 338.9)
XYZxyz(0.9697, 0.5241, 1.1485)
Luminance0.0052 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24031C #03240B
analogous
#1B0324 #24031C #24030C
triadic
#24031C #1C2403 #031C24
tetradic
#24031C #241B03 #03240B #030C24
square
#24031C #241B03 #03240B #030C24
split-complementary
#24031C #0C2403 #03241B
monochromatic
#1C0216 #1C0216 #24031C #5C0848 #950C74

Accessibility & contrast

On white

19.01
#24031C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#24031C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24031C
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24031C#FFFFFF#000000##FFFFFF
##24031C1.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24031c;
/* rgb */ color: rgb(36, 3, 28);
/* oklch */ color: oklch(18.3% 0.069 338.9);
Tailwind
colors: {
  custom: {
    50: '#5f4758',
    500: '#24031c',
    950: '#000000',
  },
}
SCSS
$custom: #24031c;
$custom-light: #5f4758;
$custom-dark: #000000;
JSON
{
  "hex": "#24031c",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 28
  },
  "hsl": {
    "h": 314.545,
    "s": 84.615,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18283,
    "c": 0.06877,
    "h": 338.9
  },
  "luminance": 0.00524
}

Semantic roles & 50–950 ramp

primary
#24031C
secondary
#1B682D
accent
#FB5F2D
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#050003
muted
#797778

Preview Lab

Preview with #24031C

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

Preview Lab → · Contrast checker → · Palette generator →

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