#240F1F#240F1F

#240F1F is a very dark, muted pink. Relative luminance 0.008; OKLCH L 20.7% C 0.044 H 336.6°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#240F1F
RGBrgb(36, 15, 31)
HSLhsl(314, 41%, 10%)
HSVhsv(314, 58%, 14%)
CMYKcmyk(0%, 58.3%, 13.9%, 85.9%)
CIE-LABlab(7.37, 13.92, -6.49)
CIE-LCHlch(7.37, 15.36, 335.00°)
OKLaboklab(20.69% 0.0406 -0.0175)
OKLCHoklch(20.69% 0.044 336.6)
XYZxyz(1.1457, 0.8157, 1.3932)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240F1F #0F2414
analogous
#1F0F24 #240F1F #240F14
triadic
#240F1F #1F240F #0F1F24
tetradic
#240F1F #241F0F #0F2414 #0F1424
square
#240F1F #241F0F #0F2414 #0F1424
split-complementary
#240F1F #14240F #0F241F
monochromatic
#160913 #160913 #240F1F #4F2144 #7A3369

Accessibility & contrast

On white

18.05
#240F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#240F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240F1F
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240F1F#FFFFFF#000000##FFFFFF
##240F1F1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1420
Deuteranopia (green-blind)
#15171E
Tritanopia (blue-blind)
#261015
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #240f1f;
/* rgb */ color: rgb(36, 15, 31);
/* oklch */ color: oklch(20.7% 0.044 336.6);
Tailwind
colors: {
  custom: {
    50: '#5f4e5a',
    500: '#240f1f',
    950: '#000000',
  },
}
SCSS
$custom: #240f1f;
$custom-light: #5f4e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#240f1f",
  "rgb": {
    "r": 36,
    "g": 15,
    "b": 31
  },
  "hsl": {
    "h": 314.286,
    "s": 41.176,
    "l": 10
  },
  "oklch": {
    "l": 0.20694,
    "c": 0.04422,
    "h": 336.6
  },
  "luminance": 0.00816
}

Semantic roles & 50–950 ramp

primary
#240F1F
secondary
#335C3D
accent
#D17457
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #240F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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