#240802#240802

#240802 is a very dark, muted red. Relative luminance 0.006; OKLCH L 18.2% C 0.051 H 38.3°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#240802
RGBrgb(36, 8, 2)
HSLhsl(11, 89%, 7%)
HSVhsv(11, 94%, 14%)
CMYKcmyk(0%, 77.8%, 94.4%, 85.9%)
CIE-LABlab(5.00, 12.27, 6.89)
CIE-LCHlch(5.00, 14.07, 29.31°)
OKLaboklab(18.23% 0.0399 0.0316)
OKLCHoklch(18.23% 0.051 38.3)
XYZxyz(0.8254, 0.5532, 0.1207)
Luminance0.0055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240802 #021E24
analogous
#24020D #240802 #241902
triadic
#240802 #022408 #080224
tetradic
#240802 #0D2402 #021E24 #190224
square
#240802 #0D2402 #021E24 #190224
split-complementary
#240802 #022419 #020D24
monochromatic
#1D0602 #1D0602 #240802 #5E1505 #982208

Accessibility & contrast

On white

18.91
#240802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#240802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240802
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240802#FFFFFF#000000##FFFFFF
##2408021.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100D01
Deuteranopia (green-blind)
#171302
Tritanopia (blue-blind)
#290306
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #240802;
/* rgb */ color: rgb(36, 8, 2);
/* oklch */ color: oklch(18.2% 0.051 38.3);
Tailwind
colors: {
  custom: {
    50: '#5f4a47',
    500: '#240802',
    950: '#000000',
  },
}
SCSS
$custom: #240802;
$custom-light: #5f4a47;
$custom-dark: #000000;
JSON
{
  "hex": "#240802",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 2
  },
  "hsl": {
    "h": 10.588,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.18228,
    "c": 0.05091,
    "h": 38.3
  },
  "luminance": 0.00553
}

Semantic roles & 50–950 ramp

primary
#240802
secondary
#185B6A
accent
#D9FF29
background
#F5F4F4
surface
#E9E7E6
border
#C5C3C2
text
#050100
muted
#797777

Preview Lab

Preview with #240802

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

Preview Lab → · Contrast checker → · Palette generator →

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