#24181C#24181C

#24181C is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.6% C 0.020 H 357.1°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#24181C
RGBrgb(36, 24, 28)
HSLhsl(340, 20%, 12%)
HSVhsv(340, 33%, 14%)
CMYKcmyk(0%, 33.3%, 22.2%, 85.9%)
CIE-LABlab(9.89, 6.85, -0.43)
CIE-LCHlch(9.89, 6.86, 356.39°)
OKLaboklab(22.59% 0.0205 -0.001)
OKLCHoklch(22.59% 0.02 357.1)
XYZxyz(1.2638, 1.1122, 1.2465)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24181C #182420
analogous
#241822 #24181C #241A18
triadic
#24181C #1C2418 #181C24
tetradic
#24181C #222418 #182420 #1A1824
square
#24181C #222418 #182420 #1A1824
split-complementary
#24181C #18241A #182224
monochromatic
#120C0E #120C0E #24181C #493039 #6D4955

Accessibility & contrast

On white

17.18
#24181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#24181C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24181C
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24181C#FFFFFF#000000##FFFFFF
##24181C1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191A1C
Deuteranopia (green-blind)
#1C1C1C
Tritanopia (blue-blind)
#261719
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #24181c;
/* rgb */ color: rgb(36, 24, 28);
/* oklch */ color: oklch(22.6% 0.020 357.1);
Tailwind
colors: {
  custom: {
    50: '#5f5457',
    500: '#24181c',
    950: '#000000',
  },
}
SCSS
$custom: #24181c;
$custom-light: #5f5457;
$custom-dark: #000000;
JSON
{
  "hex": "#24181c",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 340,
    "s": 20,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22585,
    "c": 0.02048,
    "h": 357.1
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#24181C
secondary
#41574F
accent
#BDA16B
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #24181C

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

Preview Lab → · Contrast checker → · Palette generator →

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