#240208#240208

#240208 is a very dark, moderate red. Relative luminance 0.004; OKLCH L 17.1% C 0.061 H 12.9°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#240208
RGBrgb(36, 2, 8)
HSLhsl(349, 89%, 7%)
HSVhsv(349, 94%, 14%)
CMYKcmyk(0%, 94.4%, 77.8%, 85.9%)
CIE-LABlab(3.94, 15.51, 2.90)
CIE-LCHlch(3.94, 15.78, 10.59°)
OKLaboklab(17.12% 0.0595 0.0136)
OKLCHoklch(17.12% 0.061 12.9)
XYZxyz(0.7932, 0.4361, 0.2721)
Luminance0.0044 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240208 #02241E
analogous
#240219 #240208 #240D02
triadic
#240208 #082402 #020824
tetradic
#240208 #192402 #02241E #0D0224
square
#240208 #192402 #02241E #0D0224
split-complementary
#240208 #02240D #021924
monochromatic
#1D0206 #1D0206 #240208 #5E0515 #980822

Accessibility & contrast

On white

19.32
#240208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240208
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240208#FFFFFF#000000##FFFFFF
##2402081.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090908
Deuteranopia (green-blind)
#131107
Tritanopia (blue-blind)
#280004
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #240208;
/* rgb */ color: rgb(36, 2, 8);
/* oklch */ color: oklch(17.1% 0.061 12.9);
Tailwind
colors: {
  custom: {
    50: '#5f474a',
    500: '#240208',
    950: '#000000',
  },
}
SCSS
$custom: #240208;
$custom-light: #5f474a;
$custom-dark: #000000;
JSON
{
  "hex": "#240208",
  "rgb": {
    "r": 36,
    "g": 2,
    "b": 8
  },
  "hsl": {
    "h": 349.412,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17116,
    "c": 0.06099,
    "h": 12.9
  },
  "luminance": 0.00436
}

Semantic roles & 50–950 ramp

primary
#240208
secondary
#186A5B
accent
#FFD929
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#050001
muted
#797777

Preview Lab

Preview with #240208

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

Preview Lab → · Contrast checker → · Palette generator →

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