#240A1E#240A1E

#240A1E is a very dark, muted pink. Relative luminance 0.007; OKLCH L 19.7% C 0.054 H 337.2°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#240A1E
RGBrgb(36, 10, 30)
HSLhsl(314, 57%, 9%)
HSVhsv(314, 72%, 14%)
CMYKcmyk(0%, 72.2%, 16.7%, 85.9%)
CIE-LABlab(6.20, 16.40, -7.49)
CIE-LCHlch(6.20, 18.03, 335.46°)
OKLaboklab(19.7% 0.05 -0.0209)
OKLCHoklch(19.7% 0.054 337.2)
XYZxyz(1.0705, 0.6860, 1.3041)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240A1E #0A2410
analogous
#1D0A24 #240A1E #240A11
triadic
#240A1E #1E240A #0A1E24
tetradic
#240A1E #241D0A #0A2410 #0A1124
square
#240A1E #241D0A #0A2410 #0A1124
split-complementary
#240A1E #11240A #0A241D
monochromatic
#180714 #180714 #240A1E #541746 #84256E

Accessibility & contrast

On white

18.47
#240A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#240A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240A1E
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240A1E#FFFFFF#000000##FFFFFF
##240A1E1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B111F
Deuteranopia (green-blind)
#12151D
Tritanopia (blue-blind)
#260B12
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #240a1e;
/* rgb */ color: rgb(36, 10, 30);
/* oklch */ color: oklch(19.7% 0.054 337.2);
Tailwind
colors: {
  custom: {
    50: '#5f4b59',
    500: '#240a1e',
    950: '#000000',
  },
}
SCSS
$custom: #240a1e;
$custom-light: #5f4b59;
$custom-dark: #000000;
JSON
{
  "hex": "#240a1e",
  "rgb": {
    "r": 36,
    "g": 10,
    "b": 30
  },
  "hsl": {
    "h": 313.846,
    "s": 56.522,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19702,
    "c": 0.05417,
    "h": 337.2
  },
  "luminance": 0.00686
}

Semantic roles & 50–950 ramp

primary
#240A1E
secondary
#2A6036
accent
#E06B48
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#050103
muted
#797778

Preview Lab

Preview with #240A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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