#240B0F#240B0F

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

Color values

HEX#240B0F
RGBrgb(36, 11, 15)
HSLhsl(350, 53%, 9%)
HSVhsv(350, 69%, 14%)
CMYKcmyk(0%, 69.4%, 58.3%, 85.9%)
CIE-LABlab(5.86, 12.84, 2.56)
CIE-LCHlch(5.86, 13.09, 11.25°)
OKLaboklab(19.19% 0.0418 0.0089)
OKLCHoklch(19.19% 0.043 12)
XYZxyz(0.9335, 0.6490, 0.5280)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240B0F #0B2420
analogous
#240B1C #240B0F #24140B
triadic
#240B0F #0F240B #0B0F24
tetradic
#240B0F #1C240B #0B2420 #140B24
square
#240B0F #1C240B #0B2420 #140B24
split-complementary
#240B0F #0B2414 #0B1C24
monochromatic
#17070A #17070A #240B0F #531923 #822836

Accessibility & contrast

On white

18.59
#240B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240B0F
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240B0F#FFFFFF#000000##FFFFFF
##240B0F1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10100F
Deuteranopia (green-blind)
#16150E
Tritanopia (blue-blind)
#28080D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #240b0f;
/* rgb */ color: rgb(36, 11, 15);
/* oklch */ color: oklch(19.2% 0.043 12.0);
Tailwind
colors: {
  custom: {
    50: '#5f4b4e',
    500: '#240b0f',
    950: '#000000',
  },
}
SCSS
$custom: #240b0f;
$custom-light: #5f4b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#240b0f",
  "rgb": {
    "r": 36,
    "g": 11,
    "b": 15
  },
  "hsl": {
    "h": 350.4,
    "s": 53.191,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19189,
    "c": 0.04276,
    "h": 12
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#240B0F
secondary
#2C5F57
accent
#DDC54B
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#050101
muted
#797777

Preview Lab

Preview with #240B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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