#240507#240507

#240507 is a very dark, muted red. Relative luminance 0.005; OKLCH L 17.8% C 0.054 H 19.9°. Best body text is #FFFFFF at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#240507
RGBrgb(36, 5, 7)
HSLhsl(356, 76%, 8%)
HSVhsv(356, 86%, 14%)
CMYKcmyk(0%, 86.1%, 80.6%, 85.9%)
CIE-LABlab(4.51, 14.17, 4.14)
CIE-LCHlch(4.51, 14.76, 16.28°)
OKLaboklab(17.75% 0.0508 0.0184)
OKLCHoklch(17.75% 0.054 19.9)
XYZxyz(0.8203, 0.4991, 0.2541)
Luminance0.0050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240507 #052422
analogous
#240516 #240507 #241205
triadic
#240507 #072405 #050724
tetradic
#240507 #162405 #052422 #120524
square
#240507 #162405 #052422 #120524
split-complementary
#240507 #052412 #051624
monochromatic
#1B0405 #1B0405 #240507 #5A0C11 #8F141C

Accessibility & contrast

On white

19.09
#240507 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#240507 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240507
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240507#FFFFFF#000000##FFFFFF
##2405071.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0B07
Deuteranopia (green-blind)
#151206
Tritanopia (blue-blind)
#280106
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #240507;
/* rgb */ color: rgb(36, 5, 7);
/* oklch */ color: oklch(17.8% 0.054 19.9);
Tailwind
colors: {
  custom: {
    50: '#5f484a',
    500: '#240507',
    950: '#000000',
  },
}
SCSS
$custom: #240507;
$custom-light: #5f484a;
$custom-dark: #000000;
JSON
{
  "hex": "#240507",
  "rgb": {
    "r": 36,
    "g": 5,
    "b": 7
  },
  "hsl": {
    "h": 356.129,
    "s": 75.61,
    "l": 8.039
  },
  "oklch": {
    "l": 0.17753,
    "c": 0.054,
    "h": 19.9
  },
  "luminance": 0.00499
}

Semantic roles & 50–950 ramp

primary
#240507
secondary
#1F6661
accent
#F2E636
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#050001
muted
#797777

Preview Lab

Preview with #240507

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

Preview Lab → · Contrast checker → · Palette generator →

#240507 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva