#240D20#240D20

#240D20 is a very dark, muted pink. Relative luminance 0.008; OKLCH L 20.4% C 0.050 H 334.2°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#240D20
RGBrgb(36, 13, 32)
HSLhsl(310, 47%, 10%)
HSVhsv(310, 64%, 14%)
CMYKcmyk(0%, 63.9%, 11.1%, 85.9%)
CIE-LABlab(6.93, 15.35, -7.92)
CIE-LCHlch(6.93, 17.27, 332.71°)
OKLaboklab(20.36% 0.0449 -0.0217)
OKLCHoklch(20.36% 0.05 334.2)
XYZxyz(1.1322, 0.7673, 1.4547)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240D20 #0D2411
analogous
#1D0D24 #240D20 #240D15
triadic
#240D20 #20240D #0D2024
tetradic
#240D20 #241D0D #0D2411 #0D1524
square
#240D20 #241D0D #0D2411 #0D1524
split-complementary
#240D20 #15240D #0D241D
monochromatic
#160814 #160814 #240D20 #511D48 #7E2D70

Accessibility & contrast

On white

18.21
#240D20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240D20
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240D20#FFFFFF#000000##FFFFFF
##240D201.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1321
Deuteranopia (green-blind)
#13171F
Tritanopia (blue-blind)
#260E15
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #240d20;
/* rgb */ color: rgb(36, 13, 32);
/* oklch */ color: oklch(20.4% 0.050 334.2);
Tailwind
colors: {
  custom: {
    50: '#5f4c5b',
    500: '#240d20',
    950: '#000000',
  },
}
SCSS
$custom: #240d20;
$custom-light: #5f4c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#240d20",
  "rgb": {
    "r": 36,
    "g": 13,
    "b": 32
  },
  "hsl": {
    "h": 310.435,
    "s": 46.939,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20359,
    "c": 0.04982,
    "h": 334.2
  },
  "luminance": 0.00767
}

Semantic roles & 50–950 ramp

primary
#240D20
secondary
#2F5E37
accent
#D76851
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040104
muted
#797779

Preview Lab

Preview with #240D20

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

Preview Lab → · Contrast checker → · Palette generator →

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