#240C0E#240C0E

#240C0E is a very dark, muted red. Relative luminance 0.007; OKLCH L 19.4% C 0.041 H 16.5°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#240C0E
RGBrgb(36, 12, 14)
HSLhsl(355, 50%, 9%)
HSVhsv(355, 67%, 14%)
CMYKcmyk(0%, 66.7%, 61.1%, 85.9%)
CIE-LABlab(6.05, 12.22, 3.35)
CIE-LCHlch(6.05, 12.67, 15.32°)
OKLaboklab(19.35% 0.0392 0.0116)
OKLCHoklch(19.35% 0.041 16.5)
XYZxyz(0.9384, 0.6698, 0.4953)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240C0E #0C2422
analogous
#240C1A #240C0E #24160C
triadic
#240C0E #0E240C #0C0E24
tetradic
#240C0E #1A240C #0C2422 #160C24
square
#240C0E #1A240C #0C2422 #160C24
split-complementary
#240C0E #0C2416 #0C1A24
monochromatic
#170809 #170809 #240C0E #521B20 #802B32

Accessibility & contrast

On white

18.52
#240C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#240C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240C0E
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240C0E#FFFFFF#000000##FFFFFF
##240C0E1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11100E
Deuteranopia (green-blind)
#17150D
Tritanopia (blue-blind)
#28090D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #240c0e;
/* rgb */ color: rgb(36, 12, 14);
/* oklch */ color: oklch(19.4% 0.041 16.5);
Tailwind
colors: {
  custom: {
    50: '#5f4c4d',
    500: '#240c0e',
    950: '#000000',
  },
}
SCSS
$custom: #240c0e;
$custom-light: #5f4c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#240c0e",
  "rgb": {
    "r": 36,
    "g": 12,
    "b": 14
  },
  "hsl": {
    "h": 355,
    "s": 50,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19352,
    "c": 0.0409,
    "h": 16.5
  },
  "luminance": 0.0067
}

Semantic roles & 50–950 ramp

primary
#240C0E
secondary
#2D5E5A
accent
#DACE4E
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#050101
muted
#797777

Preview Lab

Preview with #240C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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