#240B1F#240B1F

#240B1F is a very dark, muted pink. Relative luminance 0.007; OKLCH L 19.9% C 0.053 H 335.7°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#240B1F
RGBrgb(36, 11, 31)
HSLhsl(312, 53%, 9%)
HSVhsv(312, 69%, 14%)
CMYKcmyk(0%, 69.4%, 13.9%, 85.9%)
CIE-LABlab(6.44, 16.17, -7.89)
CIE-LCHlch(6.44, 17.99, 333.99°)
OKLaboklab(19.93% 0.0484 -0.0219)
OKLCHoklch(19.93% 0.053 335.7)
XYZxyz(1.0946, 0.7134, 1.3761)
Luminance0.0071 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240B1F #0B2410
analogous
#1D0B24 #240B1F #240B13
triadic
#240B1F #1F240B #0B1F24
tetradic
#240B1F #241D0B #0B2410 #0B1324
square
#240B1F #241D0B #0B2410 #0B1324
split-complementary
#240B1F #13240B #0B241D
monochromatic
#170714 #170714 #240B1F #531947 #822870

Accessibility & contrast

On white

18.38
#240B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240B1F
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240B1F#FFFFFF#000000##FFFFFF
##240B1F1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1220
Deuteranopia (green-blind)
#12161E
Tritanopia (blue-blind)
#260C13
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #240b1f;
/* rgb */ color: rgb(36, 11, 31);
/* oklch */ color: oklch(19.9% 0.053 335.7);
Tailwind
colors: {
  custom: {
    50: '#5f4b5a',
    500: '#240b1f',
    950: '#000000',
  },
}
SCSS
$custom: #240b1f;
$custom-light: #5f4b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#240b1f",
  "rgb": {
    "r": 36,
    "g": 11,
    "b": 31
  },
  "hsl": {
    "h": 312,
    "s": 53.191,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19935,
    "c": 0.05309,
    "h": 335.7
  },
  "luminance": 0.00713
}

Semantic roles & 50–950 ramp

primary
#240B1F
secondary
#2C5F36
accent
#DD684B
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#050103
muted
#797778

Preview Lab

Preview with #240B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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