#240B0B#240B0B

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

Color values

HEX#240B0B
RGBrgb(36, 11, 11)
HSLhsl(0, 53%, 9%)
HSVhsv(0, 69%, 14%)
CMYKcmyk(0%, 69.4%, 69.4%, 85.9%)
CIE-LABlab(5.77, 12.25, 4.34)
CIE-LCHlch(5.77, 12.99, 19.51°)
OKLaboklab(19.06% 0.0397 0.016)
OKLCHoklch(19.06% 0.043 22)
XYZxyz(0.9077, 0.6387, 0.3920)
Luminance0.0064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240B0B #0B2424
analogous
#240B18 #240B0B #24180B
triadic
#240B0B #0B240B #0B0B24
tetradic
#240B0B #18240B #0B2424 #180B24
square
#240B0B #18240B #0B2424 #180B24
split-complementary
#240B0B #0B2418 #0B1824
monochromatic
#170707 #170707 #240B0B #531919 #822828

Accessibility & contrast

On white

18.62
#240B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240B0B
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240B0B#FFFFFF#000000##FFFFFF
##240B0B1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #240b0b;
/* rgb */ color: rgb(36, 11, 11);
/* oklch */ color: oklch(19.1% 0.043 22.0);
Tailwind
colors: {
  custom: {
    50: '#5f4b4c',
    500: '#240b0b',
    950: '#000000',
  },
}
SCSS
$custom: #240b0b;
$custom-light: #5f4b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#240b0b",
  "rgb": {
    "r": 36,
    "g": 11,
    "b": 11
  },
  "hsl": {
    "h": 0,
    "s": 53.191,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19064,
    "c": 0.04282,
    "h": 22
  },
  "luminance": 0.00639
}

Semantic roles & 50–950 ramp

primary
#240B0B
secondary
#2C5F5F
accent
#DDDD4B
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#050101
muted
#797777

Preview Lab

Preview with #240B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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