#240C16#240C16

#240C16 is a very dark, muted pink. Relative luminance 0.007; OKLCH L 19.7% C 0.043 H 355.6°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#240C16
RGBrgb(36, 12, 22)
HSLhsl(335, 50%, 9%)
HSVhsv(335, 67%, 14%)
CMYKcmyk(0%, 66.7%, 38.9%, 85.9%)
CIE-LABlab(6.29, 13.64, -1.18)
CIE-LCHlch(6.29, 13.69, 355.05°)
OKLaboklab(19.66% 0.0432 -0.0033)
OKLCHoklch(19.66% 0.043 355.6)
XYZxyz(1.0039, 0.6960, 0.8404)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240C16 #0C241A
analogous
#240C22 #240C16 #240E0C
triadic
#240C16 #16240C #0C1624
tetradic
#240C16 #22240C #0C241A #0E0C24
square
#240C16 #22240C #0C241A #0E0C24
split-complementary
#240C16 #0C240E #0C2224
monochromatic
#17080E #17080E #240C16 #521B32 #802B4E

Accessibility & contrast

On white

18.43
#240C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#240C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240C16
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240C16#FFFFFF#000000##FFFFFF
##240C161.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1116
Deuteranopia (green-blind)
#161615
Tritanopia (blue-blind)
#270B10
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #240c16;
/* rgb */ color: rgb(36, 12, 22);
/* oklch */ color: oklch(19.7% 0.043 355.6);
Tailwind
colors: {
  custom: {
    50: '#5f4c52',
    500: '#240c16',
    950: '#000000',
  },
}
SCSS
$custom: #240c16;
$custom-light: #5f4c52;
$custom-dark: #000000;
JSON
{
  "hex": "#240c16",
  "rgb": {
    "r": 36,
    "g": 12,
    "b": 22
  },
  "hsl": {
    "h": 335,
    "s": 50,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19657,
    "c": 0.04329,
    "h": 355.6
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#240C16
secondary
#2D5E4A
accent
#DAA04E
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#050102
muted
#797778

Preview Lab

Preview with #240C16

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

Preview Lab → · Contrast checker → · Palette generator →

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