#240308#240308

#240308 is a very dark, muted red. Relative luminance 0.005; OKLCH L 17.3% C 0.058 H 14.4°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#240308
RGBrgb(36, 3, 8)
HSLhsl(351, 85%, 8%)
HSVhsv(351, 92%, 14%)
CMYKcmyk(0%, 91.7%, 77.8%, 85.9%)
CIE-LABlab(4.14, 15.11, 3.19)
CIE-LCHlch(4.14, 15.44, 11.91°)
OKLaboklab(17.35% 0.0566 0.0146)
OKLCHoklch(17.35% 0.058 14.4)
XYZxyz(0.8040, 0.4578, 0.2757)
Luminance0.0046 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240308 #03241F
analogous
#240318 #240308 #240E03
triadic
#240308 #082403 #030824
tetradic
#240308 #182403 #03241F #0E0324
square
#240308 #182403 #03241F #0E0324
split-complementary
#240308 #03240E #031824
monochromatic
#1C0206 #1C0206 #240308 #5C0815 #950C21

Accessibility & contrast

On white

19.24
#240308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240308
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240308#FFFFFF#000000##FFFFFF
##2403081.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #240308;
/* rgb */ color: rgb(36, 3, 8);
/* oklch */ color: oklch(17.3% 0.058 14.4);
Tailwind
colors: {
  custom: {
    50: '#5f474a',
    500: '#240308',
    950: '#000000',
  },
}
SCSS
$custom: #240308;
$custom-light: #5f474a;
$custom-dark: #000000;
JSON
{
  "hex": "#240308",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 8
  },
  "hsl": {
    "h": 350.909,
    "s": 84.615,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17345,
    "c": 0.05848,
    "h": 14.4
  },
  "luminance": 0.00458
}

Semantic roles & 50–950 ramp

primary
#240308
secondary
#1B685C
accent
#FBDC2D
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#050001
muted
#797777

Preview Lab

Preview with #240308

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

Preview Lab → · Contrast checker → · Palette generator →

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