#240D1E#240D1E

#240D1E is a very dark, muted pink. Relative luminance 0.008; OKLCH L 20.2% C 0.048 H 338.1°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#240D1E
RGBrgb(36, 13, 30)
HSLhsl(316, 47%, 10%)
HSVhsv(316, 64%, 14%)
CMYKcmyk(0%, 63.9%, 16.7%, 85.9%)
CIE-LABlab(6.84, 14.87, -6.53)
CIE-LCHlch(6.84, 16.24, 336.30°)
OKLaboklab(20.25% 0.0442 -0.0178)
OKLCHoklch(20.25% 0.048 338.1)
XYZxyz(1.1058, 0.7567, 1.3159)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240D1E #0D2413
analogous
#1F0D24 #240D1E #240D13
triadic
#240D1E #1E240D #0D1E24
tetradic
#240D1E #241F0D #0D2413 #0D1324
square
#240D1E #241F0D #0D2413 #0D1324
split-complementary
#240D1E #13240D #0D241F
monochromatic
#160813 #160813 #240D1E #511D43 #7E2D69

Accessibility & contrast

On white

18.24
#240D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240D1E
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240D1E#FFFFFF#000000##FFFFFF
##240D1E1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E131F
Deuteranopia (green-blind)
#14161D
Tritanopia (blue-blind)
#260E14
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #240d1e;
/* rgb */ color: rgb(36, 13, 30);
/* oklch */ color: oklch(20.2% 0.048 338.1);
Tailwind
colors: {
  custom: {
    50: '#5f4c59',
    500: '#240d1e',
    950: '#000000',
  },
}
SCSS
$custom: #240d1e;
$custom-light: #5f4c59;
$custom-dark: #000000;
JSON
{
  "hex": "#240d1e",
  "rgb": {
    "r": 36,
    "g": 13,
    "b": 30
  },
  "hsl": {
    "h": 315.652,
    "s": 46.939,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20246,
    "c": 0.04769,
    "h": 338.1
  },
  "luminance": 0.00757
}

Semantic roles & 50–950 ramp

primary
#240D1E
secondary
#2F5E3B
accent
#D77451
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #240D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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