#240401#240401

#240401 is a very dark, muted red. Relative luminance 0.005; OKLCH L 17.3% C 0.058 H 33.4°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#240401
RGBrgb(36, 4, 1)
HSLhsl(5, 95%, 7%)
HSVhsv(5, 97%, 14%)
CMYKcmyk(0%, 88.9%, 97.2%, 85.9%)
CIE-LABlab(4.19, 13.73, 6.12)
CIE-LCHlch(4.19, 15.04, 24.03°)
OKLaboklab(17.34% 0.0484 0.0319)
OKLCHoklch(17.34% 0.058 33.4)
XYZxyz(0.7765, 0.4642, 0.0774)
Luminance0.0046 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240401 #012124
analogous
#240110 #240401 #241601
triadic
#240401 #012404 #040124
tetradic
#240401 #102401 #012124 #160124
square
#240401 #102401 #012124 #160124
split-complementary
#240401 #012416 #011024
monochromatic
#1E0301 #1E0301 #240401 #600B03 #9B1104

Accessibility & contrast

On white

19.22
#240401 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#240401 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240401
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240401#FFFFFF#000000##FFFFFF
##2404011.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0A01
Deuteranopia (green-blind)
#151100
Tritanopia (blue-blind)
#290003
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #240401;
/* rgb */ color: rgb(36, 4, 1);
/* oklch */ color: oklch(17.3% 0.058 33.4);
Tailwind
colors: {
  custom: {
    50: '#5f4847',
    500: '#240401',
    950: '#000000',
  },
}
SCSS
$custom: #240401;
$custom-light: #5f4847;
$custom-dark: #000000;
JSON
{
  "hex": "#240401",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 1
  },
  "hsl": {
    "h": 5.143,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17343,
    "c": 0.05797,
    "h": 33.4
  },
  "luminance": 0.00464
}

Semantic roles & 50–950 ramp

primary
#240401
secondary
#16646B
accent
#EDFF29
background
#F5F4F3
surface
#E9E6E5
border
#C5C2C1
text
#050000
muted
#797777

Preview Lab

Preview with #240401

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

Preview Lab → · Contrast checker → · Palette generator →

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