#240F1E#240F1E

#240F1E is a very dark, muted pink. Relative luminance 0.008; OKLCH L 20.6% C 0.043 H 338.8°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#240F1E
RGBrgb(36, 15, 30)
HSLhsl(317, 41%, 10%)
HSVhsv(317, 58%, 14%)
CMYKcmyk(0%, 58.3%, 16.7%, 85.9%)
CIE-LABlab(7.32, 13.69, -5.79)
CIE-LCHlch(7.32, 14.86, 337.06°)
OKLaboklab(20.64% 0.0403 -0.0156)
OKLCHoklch(20.64% 0.043 338.8)
XYZxyz(1.1327, 0.8105, 1.3248)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240F1E #0F2415
analogous
#1F0F24 #240F1E #240F14
triadic
#240F1E #1E240F #0F1E24
tetradic
#240F1E #241F0F #0F2415 #0F1424
square
#240F1E #241F0F #0F2415 #0F1424
split-complementary
#240F1E #14240F #0F241F
monochromatic
#160912 #160912 #240F1E #4F2142 #7A3366

Accessibility & contrast

On white

18.07
#240F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240F1E
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240F1E#FFFFFF#000000##FFFFFF
##240F1E1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10141F
Deuteranopia (green-blind)
#15171D
Tritanopia (blue-blind)
#261015
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #240f1e;
/* rgb */ color: rgb(36, 15, 30);
/* oklch */ color: oklch(20.6% 0.043 338.8);
Tailwind
colors: {
  custom: {
    50: '#5f4e59',
    500: '#240f1e',
    950: '#000000',
  },
}
SCSS
$custom: #240f1e;
$custom-light: #5f4e59;
$custom-dark: #000000;
JSON
{
  "hex": "#240f1e",
  "rgb": {
    "r": 36,
    "g": 15,
    "b": 30
  },
  "hsl": {
    "h": 317.143,
    "s": 41.176,
    "l": 10
  },
  "oklch": {
    "l": 0.20641,
    "c": 0.04317,
    "h": 338.8
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#240F1E
secondary
#335C3F
accent
#D17A57
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #240F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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