#240304#240304

#240304 is a very dark, muted red. Relative luminance 0.004; OKLCH L 17.2% C 0.059 H 23.5°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#240304
RGBrgb(36, 3, 4)
HSLhsl(358, 85%, 8%)
HSVhsv(358, 92%, 14%)
CMYKcmyk(0%, 91.7%, 88.9%, 85.9%)
CIE-LABlab(4.06, 14.55, 4.70)
CIE-LCHlch(4.06, 15.29, 17.90°)
OKLaboklab(17.21% 0.0539 0.0234)
OKLCHoklch(17.21% 0.059 23.5)
XYZxyz(0.7821, 0.4491, 0.1603)
Luminance0.0045 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240304 #032423
analogous
#240314 #240304 #241203
triadic
#240304 #042403 #030424
tetradic
#240304 #142403 #032423 #120324
square
#240304 #142403 #032423 #120324
split-complementary
#240304 #032412 #031424
monochromatic
#1C0203 #1C0203 #240304 #5C080A #950C11

Accessibility & contrast

On white

19.27
#240304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240304
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240304#FFFFFF#000000##FFFFFF
##2403041.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0904
Deuteranopia (green-blind)
#141103
Tritanopia (blue-blind)
#290004
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #240304;
/* rgb */ color: rgb(36, 3, 4);
/* oklch */ color: oklch(17.2% 0.059 23.5);
Tailwind
colors: {
  custom: {
    50: '#5f4748',
    500: '#240304',
    950: '#000000',
  },
}
SCSS
$custom: #240304;
$custom-light: #5f4748;
$custom-dark: #000000;
JSON
{
  "hex": "#240304",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 4
  },
  "hsl": {
    "h": 358.182,
    "s": 84.615,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17213,
    "c": 0.0587,
    "h": 23.5
  },
  "luminance": 0.00449
}

Semantic roles & 50–950 ramp

primary
#240304
secondary
#1B6866
accent
#FBF52D
background
#F5F4F4
surface
#E9E6E6
border
#C5C2C2
text
#050000
muted
#797777

Preview Lab

Preview with #240304

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

Preview Lab → · Contrast checker → · Palette generator →

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