#24121E#24121E

#24121E is a very dark, muted pink. Relative luminance 0.009; OKLCH L 21.3% C 0.036 H 340.4°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#24121E
RGBrgb(36, 18, 30)
HSLhsl(320, 33%, 11%)
HSVhsv(320, 50%, 14%)
CMYKcmyk(0%, 50%, 16.7%, 85.9%)
CIE-LABlab(8.14, 11.65, -4.55)
CIE-LCHlch(8.14, 12.51, 338.67°)
OKLaboklab(21.27% 0.0341 -0.0121)
OKLCHoklch(21.27% 0.036 340.4)
XYZxyz(1.1782, 0.9015, 1.3400)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24121E #122418
analogous
#211224 #24121E #241215
triadic
#24121E #1E2412 #121E24
tetradic
#24121E #242112 #122418 #121524
square
#24121E #242112 #122418 #121524
split-complementary
#24121E #152412 #122421
monochromatic
#140A11 #140A11 #24121E #4D2640 #763B62

Accessibility & contrast

On white

17.79
#24121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#24121E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24121E
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24121E#FFFFFF#000000##FFFFFF
##24121E1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13161E
Deuteranopia (green-blind)
#17191D
Tritanopia (blue-blind)
#261216
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #24121e;
/* rgb */ color: rgb(36, 18, 30);
/* oklch */ color: oklch(21.3% 0.036 340.4);
Tailwind
colors: {
  custom: {
    50: '#5f5059',
    500: '#24121e',
    950: '#000000',
  },
}
SCSS
$custom: #24121e;
$custom-light: #5f5059;
$custom-dark: #000000;
JSON
{
  "hex": "#24121e",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 320,
    "s": 33.333,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21274,
    "c": 0.03617,
    "h": 340.4
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#24121E
secondary
#385A43
accent
#C9825E
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #24121E

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

Preview Lab → · Contrast checker → · Palette generator →

#24121E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva