#240104#240104

#240104 is a very dark, moderate red. Relative luminance 0.004; OKLCH L 16.7% C 0.063 H 20.0°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#240104
RGBrgb(36, 1, 4)
HSLhsl(355, 95%, 7%)
HSVhsv(355, 97%, 14%)
CMYKcmyk(0%, 97.2%, 88.9%, 85.9%)
CIE-LABlab(3.66, 15.35, 4.13)
CIE-LCHlch(3.66, 15.90, 15.05°)
OKLaboklab(16.74% 0.0596 0.0217)
OKLCHoklch(16.74% 0.063 20)
XYZxyz(0.7604, 0.4057, 0.1531)
Luminance0.0041 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240104 #012421
analogous
#240116 #240104 #241001
triadic
#240104 #042401 #010424
tetradic
#240104 #162401 #012421 #100124
square
#240104 #162401 #012421 #100124
split-complementary
#240104 #012410 #011624
monochromatic
#1E0103 #1E0103 #240104 #60030B #9B0411

Accessibility & contrast

On white

19.42
#240104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#240104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240104
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240104#FFFFFF#000000##FFFFFF
##2401041.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090804
Deuteranopia (green-blind)
#131003
Tritanopia (blue-blind)
#290002
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #240104;
/* rgb */ color: rgb(36, 1, 4);
/* oklch */ color: oklch(16.7% 0.063 20.0);
Tailwind
colors: {
  custom: {
    50: '#5f4648',
    500: '#240104',
    950: '#000000',
  },
}
SCSS
$custom: #240104;
$custom-light: #5f4648;
$custom-dark: #000000;
JSON
{
  "hex": "#240104",
  "rgb": {
    "r": 36,
    "g": 1,
    "b": 4
  },
  "hsl": {
    "h": 354.857,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.16741,
    "c": 0.06344,
    "h": 20
  },
  "luminance": 0.00406
}

Semantic roles & 50–950 ramp

primary
#240104
secondary
#166B64
accent
#FFED29
background
#F5F3F4
surface
#E9E5E6
border
#C5C1C2
text
#050000
muted
#797777

Preview Lab

Preview with #240104

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

Preview Lab → · Contrast checker → · Palette generator →

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