#240A07#240A07

#240A07 is a very dark, muted red. Relative luminance 0.006; OKLCH L 18.8% C 0.045 H 29.4°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#240A07
RGBrgb(36, 10, 7)
HSLhsl(6, 67%, 8%)
HSVhsv(6, 81%, 14%)
CMYKcmyk(0%, 72.2%, 80.6%, 85.9%)
CIE-LABlab(5.49, 12.15, 5.57)
CIE-LCHlch(5.49, 13.36, 24.63°)
OKLaboklab(18.76% 0.0395 0.0222)
OKLCHoklch(18.76% 0.045 29.4)
XYZxyz(0.8745, 0.6076, 0.2722)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240A07 #072124
analogous
#240712 #240A07 #241807
triadic
#240A07 #07240A #0A0724
tetradic
#240A07 #122407 #072124 #180724
square
#240A07 #122407 #072124 #180724
split-complementary
#240A07 #072418 #071224
monochromatic
#1A0705 #1A0705 #240A07 #571811 #8A261B

Accessibility & contrast

On white

18.73
#240A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#240A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240A07
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240A07#FFFFFF#000000##FFFFFF
##240A071.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110F07
Deuteranopia (green-blind)
#171407
Tritanopia (blue-blind)
#280609
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #240a07;
/* rgb */ color: rgb(36, 10, 7);
/* oklch */ color: oklch(18.8% 0.045 29.4);
Tailwind
colors: {
  custom: {
    50: '#5f4b4a',
    500: '#240a07',
    950: '#000000',
  },
}
SCSS
$custom: #240a07;
$custom-light: #5f4b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#240a07",
  "rgb": {
    "r": 36,
    "g": 10,
    "b": 7
  },
  "hsl": {
    "h": 6.207,
    "s": 67.442,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18763,
    "c": 0.04533,
    "h": 29.4
  },
  "luminance": 0.00607
}

Semantic roles & 50–950 ramp

primary
#240A07
secondary
#245D63
accent
#D8EA3D
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#050101
muted
#797777

Preview Lab

Preview with #240A07

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

Preview Lab → · Contrast checker → · Palette generator →

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