#240F20#240F20

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

Color values

HEX#240F20
RGBrgb(36, 15, 32)
HSLhsl(311, 41%, 10%)
HSVhsv(311, 58%, 14%)
CMYKcmyk(0%, 58.3%, 11.1%, 85.9%)
CIE-LABlab(7.42, 14.15, -7.18)
CIE-LCHlch(7.42, 15.87, 333.10°)
OKLaboklab(20.75% 0.0409 -0.0195)
OKLCHoklch(20.75% 0.045 334.6)
XYZxyz(1.1591, 0.8211, 1.4637)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240F20 #0F2413
analogous
#1E0F24 #240F20 #240F15
triadic
#240F20 #20240F #0F2024
tetradic
#240F20 #241E0F #0F2413 #0F1524
square
#240F20 #241E0F #0F2413 #0F1524
split-complementary
#240F20 #15240F #0F241E
monochromatic
#160913 #160913 #240F20 #4F2146 #7A336D

Accessibility & contrast

On white

18.04
#240F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240F20
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240F20#FFFFFF#000000##FFFFFF
##240F201.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1421
Deuteranopia (green-blind)
#15171F
Tritanopia (blue-blind)
#261016
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #240f20;
/* rgb */ color: rgb(36, 15, 32);
/* oklch */ color: oklch(20.7% 0.045 334.6);
Tailwind
colors: {
  custom: {
    50: '#5f4e5b',
    500: '#240f20',
    950: '#000000',
  },
}
SCSS
$custom: #240f20;
$custom-light: #5f4e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#240f20",
  "rgb": {
    "r": 36,
    "g": 15,
    "b": 32
  },
  "hsl": {
    "h": 311.429,
    "s": 41.176,
    "l": 10
  },
  "oklch": {
    "l": 0.20749,
    "c": 0.04532,
    "h": 334.6
  },
  "luminance": 0.00821
}

Semantic roles & 50–950 ramp

primary
#240F20
secondary
#335C3B
accent
#D16E57
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040104
muted
#797779

Preview Lab

Preview with #240F20

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

Preview Lab → · Contrast checker → · Palette generator →

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