#240002#240002

#240002 is a very dark, moderate red. Relative luminance 0.004; OKLCH L 16.4% C 0.066 H 23.4°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#240002
RGBrgb(36, 0, 2)
HSLhsl(357, 100%, 7%)
HSVhsv(357, 100%, 14%)
CMYKcmyk(0%, 100%, 94.4%, 85.9%)
CIE-LABlab(3.43, 15.48, 4.60)
CIE-LCHlch(3.43, 16.14, 16.55°)
OKLaboklab(16.42% 0.0609 0.0264)
OKLCHoklch(16.42% 0.066 23.4)
XYZxyz(0.7386, 0.3796, 0.0918)
Luminance0.0038 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240002 #002422
analogous
#240014 #240002 #241000
triadic
#240002 #022400 #000224
tetradic
#240002 #142400 #002422 #100024
square
#240002 #142400 #002422 #100024
split-complementary
#240002 #002410 #001424
monochromatic
#1F0002 #1F0002 #240002 #610005 #9E0009

Accessibility & contrast

On white

19.52
#240002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240002
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240002#FFFFFF#000000##FFFFFF
##2400021.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080702
Deuteranopia (green-blind)
#130F01
Tritanopia (blue-blind)
#290001
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #240002;
/* rgb */ color: rgb(36, 0, 2);
/* oklch */ color: oklch(16.4% 0.066 23.4);
Tailwind
colors: {
  custom: {
    50: '#5f4648',
    500: '#240002',
    950: '#000000',
  },
}
SCSS
$custom: #240002;
$custom-light: #5f4648;
$custom-dark: #000000;
JSON
{
  "hex": "#240002",
  "rgb": {
    "r": 36,
    "g": 0,
    "b": 2
  },
  "hsl": {
    "h": 356.667,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.16421,
    "c": 0.06633,
    "h": 23.4
  },
  "luminance": 0.00379
}

Semantic roles & 50–950 ramp

primary
#240002
secondary
#136D68
accent
#FFF329
background
#F5F3F4
surface
#E9E5E6
border
#C5C1C2
text
#050000
muted
#797777

Preview Lab

Preview with #240002

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

Preview Lab → · Contrast checker → · Palette generator →

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