#240019#240019

#240019 is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 17.5% C 0.075 H 342.5°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#240019
RGBrgb(36, 0, 25)
HSLhsl(318, 100%, 7%)
HSVhsv(318, 100%, 14%)
CMYKcmyk(0%, 100%, 30.6%, 85.9%)
CIE-LABlab(4.02, 19.59, -6.76)
CIE-LCHlch(4.02, 20.73, 340.95°)
OKLaboklab(17.46% 0.0716 -0.0225)
OKLCHoklch(17.46% 0.075 342.5)
XYZxyz(0.9031, 0.4454, 0.9579)
Luminance0.0044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240019 #00240B
analogous
#1D0024 #240019 #240007
triadic
#240019 #192400 #001924
tetradic
#240019 #241D00 #00240B #000724
square
#240019 #241D00 #00240B #000724
split-complementary
#240019 #072400 #00241D
monochromatic
#1F0015 #1F0015 #240019 #610044 #9E006E

Accessibility & contrast

On white

19.28
#240019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#240019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240019
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240019#FFFFFF#000000##FFFFFF
##2400191.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020A1A
Deuteranopia (green-blind)
#0E1118
Tritanopia (blue-blind)
#27000A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #240019;
/* rgb */ color: rgb(36, 0, 25);
/* oklch */ color: oklch(17.5% 0.075 342.5);
Tailwind
colors: {
  custom: {
    50: '#5f4655',
    500: '#240019',
    950: '#000000',
  },
}
SCSS
$custom: #240019;
$custom-light: #5f4655;
$custom-dark: #000000;
JSON
{
  "hex": "#240019",
  "rgb": {
    "r": 36,
    "g": 0,
    "b": 25
  },
  "hsl": {
    "h": 318.333,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17459,
    "c": 0.07502,
    "h": 342.5
  },
  "luminance": 0.00445
}

Semantic roles & 50–950 ramp

primary
#240019
secondary
#136D2F
accent
#FF6A29
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#050003
muted
#797678

Preview Lab

Preview with #240019

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

Preview Lab → · Contrast checker → · Palette generator →

#240019 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva