#240C06#240C06

#240C06 is a very dark, muted red. Relative luminance 0.007; OKLCH L 19.1% C 0.043 H 36.3°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#240C06
RGBrgb(36, 12, 6)
HSLhsl(12, 71%, 8%)
HSVhsv(12, 83%, 14%)
CMYKcmyk(0%, 66.7%, 83.3%, 85.9%)
CIE-LABlab(5.88, 11.14, 6.55)
CIE-LCHlch(5.88, 12.93, 30.46°)
OKLaboklab(19.13% 0.0347 0.0255)
OKLCHoklch(19.13% 0.043 36.3)
XYZxyz(0.8920, 0.6513, 0.2510)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240C06 #061E24
analogous
#24060F #240C06 #241B06
triadic
#240C06 #06240C #0C0624
tetradic
#240C06 #0F2406 #061E24 #1B0624
square
#240C06 #0F2406 #061E24 #1B0624
split-complementary
#240C06 #06241B #060F24
monochromatic
#1A0904 #1A0904 #240C06 #581D0F #8D2F17

Accessibility & contrast

On white

18.58
#240C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240C06
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240C06#FFFFFF#000000##FFFFFF
##240C061.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121006
Deuteranopia (green-blind)
#181506
Tritanopia (blue-blind)
#28080A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #240c06;
/* rgb */ color: rgb(36, 12, 6);
/* oklch */ color: oklch(19.1% 0.043 36.3);
Tailwind
colors: {
  custom: {
    50: '#5f4c49',
    500: '#240c06',
    950: '#000000',
  },
}
SCSS
$custom: #240c06;
$custom-light: #5f4c49;
$custom-dark: #000000;
JSON
{
  "hex": "#240c06",
  "rgb": {
    "r": 36,
    "g": 12,
    "b": 6
  },
  "hsl": {
    "h": 12,
    "s": 71.429,
    "l": 8.235
  },
  "oklch": {
    "l": 0.19131,
    "c": 0.0431,
    "h": 36.3
  },
  "luminance": 0.00651
}

Semantic roles & 50–950 ramp

primary
#240C06
secondary
#215764
accent
#CAEE3A
background
#F5F4F4
surface
#E9E7E6
border
#C5C3C2
text
#050100
muted
#797777

Preview Lab

Preview with #240C06

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

Preview Lab → · Contrast checker → · Palette generator →

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