#240E1A#240E1A

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

Color values

HEX#240E1A
RGBrgb(36, 14, 26)
HSLhsl(327, 44%, 10%)
HSVhsv(327, 61%, 14%)
CMYKcmyk(0%, 61.1%, 27.8%, 85.9%)
CIE-LABlab(6.90, 13.39, -3.33)
CIE-LCHlch(6.90, 13.80, 346.03°)
OKLaboklab(20.24% 0.0408 -0.009)
OKLCHoklch(20.24% 0.042 347.6)
XYZxyz(1.0711, 0.7638, 1.0681)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240E1A #0E2418
analogous
#230E24 #240E1A #240E0F
triadic
#240E1A #1A240E #0E1A24
tetradic
#240E1A #24230E #0E2418 #0E0F24
square
#240E1A #24230E #0E2418 #0E0F24
split-complementary
#240E1A #0F240E #0E2423
monochromatic
#160910 #160910 #240E1A #501F3A #7C305A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##240E1A#FFFFFF#000000##FFFFFF
##240E1A1.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)
#10131A
Deuteranopia (green-blind)
#161719
Tritanopia (blue-blind)
#270E12
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #240e1a;
/* rgb */ color: rgb(36, 14, 26);
/* oklch */ color: oklch(20.2% 0.042 347.6);
Tailwind
colors: {
  custom: {
    50: '#5f4d56',
    500: '#240e1a',
    950: '#000000',
  },
}
SCSS
$custom: #240e1a;
$custom-light: #5f4d56;
$custom-dark: #000000;
JSON
{
  "hex": "#240e1a",
  "rgb": {
    "r": 36,
    "g": 14,
    "b": 26
  },
  "hsl": {
    "h": 327.273,
    "s": 44,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20236,
    "c": 0.04174,
    "h": 347.6
  },
  "luminance": 0.00764
}

Semantic roles & 50–950 ramp

primary
#240E1A
secondary
#315D45
accent
#D48E54
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #240E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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