#240C12#240C12

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

Color values

HEX#240C12
RGBrgb(36, 12, 18)
HSLhsl(345, 50%, 9%)
HSVhsv(345, 67%, 14%)
CMYKcmyk(0%, 66.7%, 50%, 85.9%)
CIE-LABlab(6.16, 12.88, 1.28)
CIE-LCHlch(6.16, 12.94, 5.68°)
OKLaboklab(19.49% 0.0413 0.0043)
OKLCHoklch(19.49% 0.041 5.9)
XYZxyz(0.9683, 0.6818, 0.6528)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240C12 #0C241E
analogous
#240C1E #240C12 #24120C
triadic
#240C12 #12240C #0C1224
tetradic
#240C12 #1E240C #0C241E #120C24
square
#240C12 #1E240C #0C241E #120C24
split-complementary
#240C12 #0C2412 #0C1E24
monochromatic
#17080B #17080B #240C12 #521B29 #802B40

Accessibility & contrast

On white

18.48
#240C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240C12
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240C12#FFFFFF#000000##FFFFFF
##240C121.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101112
Deuteranopia (green-blind)
#161511
Tritanopia (blue-blind)
#280A0E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #240c12;
/* rgb */ color: rgb(36, 12, 18);
/* oklch */ color: oklch(19.5% 0.041 5.9);
Tailwind
colors: {
  custom: {
    50: '#5f4c50',
    500: '#240c12',
    950: '#000000',
  },
}
SCSS
$custom: #240c12;
$custom-light: #5f4c50;
$custom-dark: #000000;
JSON
{
  "hex": "#240c12",
  "rgb": {
    "r": 36,
    "g": 12,
    "b": 18
  },
  "hsl": {
    "h": 345,
    "s": 50,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19492,
    "c": 0.04149,
    "h": 5.9
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#240C12
secondary
#2D5E52
accent
#DAB74E
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#050102
muted
#797778

Preview Lab

Preview with #240C12

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

Preview Lab → · Contrast checker → · Palette generator →

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