#240D1A#240D1A

#240D1A is a very dark, muted pink. Relative luminance 0.007; OKLCH L 20.0% C 0.044 H 346.8°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#240D1A
RGBrgb(36, 13, 26)
HSLhsl(326, 47%, 10%)
HSVhsv(326, 64%, 14%)
CMYKcmyk(0%, 63.9%, 27.8%, 85.9%)
CIE-LABlab(6.66, 13.96, -3.68)
CIE-LCHlch(6.66, 14.43, 345.22°)
OKLaboklab(20.04% 0.0428 -0.01)
OKLCHoklch(20.04% 0.044 346.8)
XYZxyz(1.0580, 0.7376, 1.0637)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240D1A #0D2417
analogous
#230D24 #240D1A #240D0F
triadic
#240D1A #1A240D #0D1A24
tetradic
#240D1A #24230D #0D2417 #0D0F24
square
#240D1A #24230D #0D2417 #0D0F24
split-complementary
#240D1A #0F240D #0D2423
monochromatic
#160810 #160810 #240D1A #511D3A #7E2D5B

Accessibility & contrast

On white

18.30
#240D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240D1A
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240D1A#FFFFFF#000000##FFFFFF
##240D1A1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F121A
Deuteranopia (green-blind)
#151619
Tritanopia (blue-blind)
#270D12
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #240d1a;
/* rgb */ color: rgb(36, 13, 26);
/* oklch */ color: oklch(20.0% 0.044 346.8);
Tailwind
colors: {
  custom: {
    50: '#5f4c56',
    500: '#240d1a',
    950: '#000000',
  },
}
SCSS
$custom: #240d1a;
$custom-light: #5f4c56;
$custom-dark: #000000;
JSON
{
  "hex": "#240d1a",
  "rgb": {
    "r": 36,
    "g": 13,
    "b": 26
  },
  "hsl": {
    "h": 326.087,
    "s": 46.939,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20038,
    "c": 0.04397,
    "h": 346.8
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#240D1A
secondary
#2F5E43
accent
#D78B51
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#050103
muted
#797778

Preview Lab

Preview with #240D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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