#240D17#240D17

#240D17 is a very dark, muted pink. Relative luminance 0.007; OKLCH L 19.9% C 0.042 H 354.2°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#240D17
RGBrgb(36, 13, 23)
HSLhsl(334, 47%, 10%)
HSVhsv(334, 64%, 14%)
CMYKcmyk(0%, 63.9%, 36.1%, 85.9%)
CIE-LABlab(6.55, 13.32, -1.53)
CIE-LCHlch(6.55, 13.41, 353.45°)
OKLaboklab(19.9% 0.0415 -0.0042)
OKLCHoklch(19.9% 0.042 354.2)
XYZxyz(1.0262, 0.7249, 0.8963)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240D17 #0D241A
analogous
#240D23 #240D17 #240F0D
triadic
#240D17 #17240D #0D1724
tetradic
#240D17 #23240D #0D241A #0F0D24
square
#240D17 #23240D #0D241A #0F0D24
split-complementary
#240D17 #0D240F #0D2324
monochromatic
#16080E #16080E #240D17 #511D34 #7E2D50

Accessibility & contrast

On white

18.34
#240D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#240D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240D17
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240D17#FFFFFF#000000##FFFFFF
##240D171.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101217
Deuteranopia (green-blind)
#161616
Tritanopia (blue-blind)
#270C11
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #240d17;
/* rgb */ color: rgb(36, 13, 23);
/* oklch */ color: oklch(19.9% 0.042 354.2);
Tailwind
colors: {
  custom: {
    50: '#5f4c53',
    500: '#240d17',
    950: '#000000',
  },
}
SCSS
$custom: #240d17;
$custom-light: #5f4c53;
$custom-dark: #000000;
JSON
{
  "hex": "#240d17",
  "rgb": {
    "r": 36,
    "g": 13,
    "b": 23
  },
  "hsl": {
    "h": 333.913,
    "s": 46.939,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19897,
    "c": 0.04177,
    "h": 354.2
  },
  "luminance": 0.00725
}

Semantic roles & 50–950 ramp

primary
#240D17
secondary
#2F5E49
accent
#D79D51
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#050102
muted
#797778

Preview Lab

Preview with #240D17

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

Preview Lab → · Contrast checker → · Palette generator →

#240D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva