#240D1F#240D1F

#240D1F is a very dark, muted pink. Relative luminance 0.008; OKLCH L 20.3% C 0.049 H 336.1°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#240D1F
RGBrgb(36, 13, 31)
HSLhsl(313, 47%, 10%)
HSVhsv(313, 64%, 14%)
CMYKcmyk(0%, 63.9%, 13.9%, 85.9%)
CIE-LABlab(6.88, 15.11, -7.23)
CIE-LCHlch(6.88, 16.75, 334.44°)
OKLaboklab(20.3% 0.0446 -0.0198)
OKLCHoklch(20.3% 0.049 336.1)
XYZxyz(1.1188, 0.7619, 1.3842)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240D1F #0D2412
analogous
#1E0D24 #240D1F #240D14
triadic
#240D1F #1F240D #0D1F24
tetradic
#240D1F #241E0D #0D2412 #0D1424
square
#240D1F #241E0D #0D2412 #0D1424
split-complementary
#240D1F #14240D #0D241E
monochromatic
#160813 #160813 #240D1F #511D46 #7E2D6C

Accessibility & contrast

On white

18.22
#240D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240D1F
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240D1F#FFFFFF#000000##FFFFFF
##240D1F1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1320
Deuteranopia (green-blind)
#14171E
Tritanopia (blue-blind)
#260E14
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #240d1f;
/* rgb */ color: rgb(36, 13, 31);
/* oklch */ color: oklch(20.3% 0.049 336.1);
Tailwind
colors: {
  custom: {
    50: '#5f4c5a',
    500: '#240d1f',
    950: '#000000',
  },
}
SCSS
$custom: #240d1f;
$custom-light: #5f4c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#240d1f",
  "rgb": {
    "r": 36,
    "g": 13,
    "b": 31
  },
  "hsl": {
    "h": 313.043,
    "s": 46.939,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20302,
    "c": 0.04874,
    "h": 336.1
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#240D1F
secondary
#2F5E39
accent
#D76E51
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #240D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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