#240403#240403

#240403 is a very dark, muted red. Relative luminance 0.005; OKLCH L 17.4% C 0.057 H 27.8°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#240403
RGBrgb(36, 4, 3)
HSLhsl(2, 85%, 8%)
HSVhsv(2, 92%, 14%)
CMYKcmyk(0%, 88.9%, 91.7%, 85.9%)
CIE-LABlab(4.23, 14.01, 5.37)
CIE-LCHlch(4.23, 15.01, 20.95°)
OKLaboklab(17.41% 0.0503 0.0266)
OKLCHoklch(17.41% 0.057 27.8)
XYZxyz(0.7875, 0.4686, 0.1351)
Luminance0.0047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240403 #032324
analogous
#240312 #240403 #241403
triadic
#240403 #032404 #040324
tetradic
#240403 #122403 #032324 #140324
square
#240403 #122403 #032324 #140324
split-complementary
#240403 #032414 #031224
monochromatic
#1C0302 #1C0302 #240403 #5C0A08 #95110C

Accessibility & contrast

On white

19.20
#240403 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240403
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240403#FFFFFF#000000##FFFFFF
##2404031.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0A03
Deuteranopia (green-blind)
#151102
Tritanopia (blue-blind)
#290004
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #240403;
/* rgb */ color: rgb(36, 4, 3);
/* oklch */ color: oklch(17.4% 0.057 27.8);
Tailwind
colors: {
  custom: {
    50: '#5f4848',
    500: '#240403',
    950: '#000000',
  },
}
SCSS
$custom: #240403;
$custom-light: #5f4848;
$custom-dark: #000000;
JSON
{
  "hex": "#240403",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 3
  },
  "hsl": {
    "h": 1.818,
    "s": 84.615,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17407,
    "c": 0.05691,
    "h": 27.8
  },
  "luminance": 0.00468
}

Semantic roles & 50–950 ramp

primary
#240403
secondary
#1B6668
accent
#F5FB2D
background
#F5F4F4
surface
#E9E6E6
border
#C5C2C2
text
#050000
muted
#797777

Preview Lab

Preview with #240403

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

Preview Lab → · Contrast checker → · Palette generator →

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