#240A17#240A17

#240A17 is a very dark, muted pink. Relative luminance 0.007; OKLCH L 19.3% C 0.048 H 351.3°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#240A17
RGBrgb(36, 10, 23)
HSLhsl(330, 57%, 9%)
HSVhsv(330, 72%, 14%)
CMYKcmyk(0%, 72.2%, 36.1%, 85.9%)
CIE-LABlab(5.91, 14.79, -2.46)
CIE-LCHlch(5.91, 15.00, 350.54°)
OKLaboklab(19.33% 0.0476 -0.0072)
OKLCHoklch(19.33% 0.048 351.3)
XYZxyz(0.9908, 0.6541, 0.8845)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240A17 #0A2417
analogous
#240A24 #240A17 #240A0A
triadic
#240A17 #17240A #0A1724
tetradic
#240A17 #24240A #0A2417 #0A0A24
square
#240A17 #24240A #0A2417 #0A0A24
split-complementary
#240A17 #0A240A #0A2424
monochromatic
#18070F #18070F #240A17 #541736 #842554

Accessibility & contrast

On white

18.57
#240A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#240A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240A17
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240A17#FFFFFF#000000##FFFFFF
##240A171.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1017
Deuteranopia (green-blind)
#141516
Tritanopia (blue-blind)
#27090F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #240a17;
/* rgb */ color: rgb(36, 10, 23);
/* oklch */ color: oklch(19.3% 0.048 351.3);
Tailwind
colors: {
  custom: {
    50: '#5f4b53',
    500: '#240a17',
    950: '#000000',
  },
}
SCSS
$custom: #240a17;
$custom-light: #5f4b53;
$custom-dark: #000000;
JSON
{
  "hex": "#240a17",
  "rgb": {
    "r": 36,
    "g": 10,
    "b": 23
  },
  "hsl": {
    "h": 330,
    "s": 56.522,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19331,
    "c": 0.04813,
    "h": 351.3
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#240A17
secondary
#2A6045
accent
#E09448
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#050102
muted
#797778

Preview Lab

Preview with #240A17

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

Preview Lab → · Contrast checker → · Palette generator →

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