#240118#240118

#240118 is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 17.6% C 0.071 H 344.3°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#240118
RGBrgb(36, 1, 24)
HSLhsl(321, 95%, 7%)
HSVhsv(321, 97%, 14%)
CMYKcmyk(0%, 97.2%, 33.3%, 85.9%)
CIE-LABlab(4.18, 18.92, -5.75)
CIE-LCHlch(4.18, 19.78, 343.11°)
OKLaboklab(17.62% 0.0686 -0.0192)
OKLCHoklch(17.62% 0.071 344.3)
XYZxyz(0.9033, 0.4628, 0.9057)
Luminance0.0046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240118 #01240D
analogous
#1F0124 #240118 #240107
triadic
#240118 #182401 #011824
tetradic
#240118 #241F01 #01240D #010724
square
#240118 #241F01 #01240D #010724
split-complementary
#240118 #072401 #01241F
monochromatic
#1E0114 #1E0114 #240118 #600340 #9B0467

Accessibility & contrast

On white

19.22
#240118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240118
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240118#FFFFFF#000000##FFFFFF
##2401181.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040A19
Deuteranopia (green-blind)
#0F1117
Tritanopia (blue-blind)
#27010A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #240118;
/* rgb */ color: rgb(36, 1, 24);
/* oklch */ color: oklch(17.6% 0.071 344.3);
Tailwind
colors: {
  custom: {
    50: '#5f4654',
    500: '#240118',
    950: '#000000',
  },
}
SCSS
$custom: #240118;
$custom-light: #5f4654;
$custom-dark: #000000;
JSON
{
  "hex": "#240118",
  "rgb": {
    "r": 36,
    "g": 1,
    "b": 24
  },
  "hsl": {
    "h": 320.571,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17616,
    "c": 0.07124,
    "h": 344.3
  },
  "luminance": 0.00463
}

Semantic roles & 50–950 ramp

primary
#240118
secondary
#166B33
accent
#FF7229
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#050002
muted
#797778

Preview Lab

Preview with #240118

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

Preview Lab → · Contrast checker → · Palette generator →

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