#240C20#240C20

#240C20 is a very dark, muted pink. Relative luminance 0.007; OKLCH L 20.2% C 0.052 H 334.0°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#240C20
RGBrgb(36, 12, 32)
HSLhsl(310, 50%, 9%)
HSVhsv(310, 67%, 14%)
CMYKcmyk(0%, 66.7%, 11.1%, 85.9%)
CIE-LABlab(6.71, 15.90, -8.26)
CIE-LCHlch(6.71, 17.92, 332.54°)
OKLaboklab(20.17% 0.0468 -0.0228)
OKLCHoklch(20.17% 0.052 334)
XYZxyz(1.1197, 0.7424, 1.4505)
Luminance0.0074 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240C20 #0C2410
analogous
#1C0C24 #240C20 #240C14
triadic
#240C20 #20240C #0C2024
tetradic
#240C20 #241C0C #0C2410 #0C1424
square
#240C20 #241C0C #0C2410 #0C1424
split-complementary
#240C20 #14240C #0C241C
monochromatic
#170814 #170814 #240C20 #521B49 #802B72

Accessibility & contrast

On white

18.29
#240C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240C20
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240C20#FFFFFF#000000##FFFFFF
##240C201.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1321
Deuteranopia (green-blind)
#13161F
Tritanopia (blue-blind)
#260D14
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #240c20;
/* rgb */ color: rgb(36, 12, 32);
/* oklch */ color: oklch(20.2% 0.052 334.0);
Tailwind
colors: {
  custom: {
    50: '#5f4c5b',
    500: '#240c20',
    950: '#000000',
  },
}
SCSS
$custom: #240c20;
$custom-light: #5f4c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#240c20",
  "rgb": {
    "r": 36,
    "g": 12,
    "b": 32
  },
  "hsl": {
    "h": 310,
    "s": 50,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20173,
    "c": 0.05201,
    "h": 334
  },
  "luminance": 0.00742
}

Semantic roles & 50–950 ramp

primary
#240C20
secondary
#2D5E36
accent
#DA654E
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#050104
muted
#797779

Preview Lab

Preview with #240C20

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

Preview Lab → · Contrast checker → · Palette generator →

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