#240418#240418

#240418 is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.2% C 0.063 H 345.7°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#240418
RGBrgb(36, 4, 24)
HSLhsl(323, 80%, 8%)
HSVhsv(323, 89%, 14%)
CMYKcmyk(0%, 88.9%, 33.3%, 85.9%)
CIE-LABlab(4.77, 17.65, -4.89)
CIE-LCHlch(4.77, 18.31, 344.52°)
OKLaboklab(18.24% 0.0609 -0.0155)
OKLCHoklch(18.24% 0.063 345.7)
XYZxyz(0.9359, 0.5279, 0.9166)
Luminance0.0053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240418 #042410
analogous
#200424 #240418 #240408
triadic
#240418 #182404 #041824
tetradic
#240418 #242004 #042410 #040824
square
#240418 #242004 #042410 #040824
split-complementary
#240418 #082404 #042420
monochromatic
#1C0312 #1C0312 #240418 #5B0A3D #921061

Accessibility & contrast

On white

18.99
#240418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#240418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240418
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240418#FFFFFF#000000##FFFFFF
##2404181.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070D19
Deuteranopia (green-blind)
#111217
Tritanopia (blue-blind)
#27040C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #240418;
/* rgb */ color: rgb(36, 4, 24);
/* oklch */ color: oklch(18.2% 0.063 345.7);
Tailwind
colors: {
  custom: {
    50: '#5f4854',
    500: '#240418',
    950: '#000000',
  },
}
SCSS
$custom: #240418;
$custom-light: #5f4854;
$custom-dark: #000000;
JSON
{
  "hex": "#240418",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 322.5,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18244,
    "c": 0.06286,
    "h": 345.7
  },
  "luminance": 0.00528
}

Semantic roles & 50–950 ramp

primary
#240418
secondary
#1D6739
accent
#F67B31
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#050002
muted
#797778

Preview Lab

Preview with #240418

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

Preview Lab → · Contrast checker → · Palette generator →

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