#240C08#240C08

#240C08 is a very dark, muted red. Relative luminance 0.007; OKLCH L 19.2% C 0.042 H 31.3°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#240C08
RGBrgb(36, 12, 8)
HSLhsl(9, 64%, 9%)
HSVhsv(9, 78%, 14%)
CMYKcmyk(0%, 66.7%, 77.8%, 85.9%)
CIE-LABlab(5.92, 11.40, 5.79)
CIE-LCHlch(5.92, 12.79, 26.94°)
OKLaboklab(19.18% 0.036 0.0219)
OKLCHoklch(19.18% 0.042 31.3)
XYZxyz(0.9029, 0.6556, 0.3087)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240C08 #082024
analogous
#240812 #240C08 #241A08
triadic
#240C08 #08240C #0C0824
tetradic
#240C08 #122408 #082024 #1A0824
square
#240C08 #122408 #082024 #1A0824
split-complementary
#240C08 #08241A #081224
monochromatic
#190806 #190806 #240C08 #561D13 #882D1E

Accessibility & contrast

On white

18.56
#240C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240C08
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240C08#FFFFFF#000000##FFFFFF
##240C081.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121008
Deuteranopia (green-blind)
#181508
Tritanopia (blue-blind)
#28080B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #240c08;
/* rgb */ color: rgb(36, 12, 8);
/* oklch */ color: oklch(19.2% 0.042 31.3);
Tailwind
colors: {
  custom: {
    50: '#5f4c4a',
    500: '#240c08',
    950: '#000000',
  },
}
SCSS
$custom: #240c08;
$custom-light: #5f4c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#240c08",
  "rgb": {
    "r": 36,
    "g": 12,
    "b": 8
  },
  "hsl": {
    "h": 8.571,
    "s": 63.636,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19184,
    "c": 0.0421,
    "h": 31.3
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#240C08
secondary
#265A62
accent
#CFE741
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#050101
muted
#797777

Preview Lab

Preview with #240C08

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

Preview Lab → · Contrast checker → · Palette generator →

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