#240B0C#240B0C

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

Color values

HEX#240B0C
RGBrgb(36, 11, 12)
HSLhsl(358, 53%, 9%)
HSVhsv(358, 69%, 14%)
CMYKcmyk(0%, 69.4%, 66.7%, 85.9%)
CIE-LABlab(5.79, 12.39, 3.93)
CIE-LCHlch(5.79, 13.00, 17.59°)
OKLaboklab(19.09% 0.0402 0.0143)
OKLCHoklch(19.09% 0.043 19.6)
XYZxyz(0.9137, 0.6411, 0.4234)
Luminance0.0064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240B0C #0B2423
analogous
#240B19 #240B0C #24170B
triadic
#240B0C #0C240B #0B0C24
tetradic
#240B0C #19240B #0B2423 #170B24
square
#240B0C #19240B #0B2423 #170B24
split-complementary
#240B0C #0B2417 #0B1924
monochromatic
#170708 #170708 #240B0C #53191C #82282B

Accessibility & contrast

On white

18.61
#240B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240B0C
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240B0C#FFFFFF#000000##FFFFFF
##240B0C1.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11100C
Deuteranopia (green-blind)
#17150B
Tritanopia (blue-blind)
#28070C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #240b0c;
/* rgb */ color: rgb(36, 11, 12);
/* oklch */ color: oklch(19.1% 0.043 19.6);
Tailwind
colors: {
  custom: {
    50: '#5f4b4c',
    500: '#240b0c',
    950: '#000000',
  },
}
SCSS
$custom: #240b0c;
$custom-light: #5f4b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#240b0c",
  "rgb": {
    "r": 36,
    "g": 11,
    "b": 12
  },
  "hsl": {
    "h": 357.6,
    "s": 53.191,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19093,
    "c": 0.0427,
    "h": 19.6
  },
  "luminance": 0.00641
}

Semantic roles & 50–950 ramp

primary
#240B0C
secondary
#2C5F5D
accent
#DDD74B
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#050101
muted
#797777

Preview Lab

Preview with #240B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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