#8E1313#8E1313

#8E1313 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.157 H 27.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#8E1313
RGBrgb(142, 19, 19)
HSLhsl(0, 76%, 32%)
HSVhsv(0, 87%, 56%)
CMYKcmyk(0%, 86.6%, 86.6%, 44.3%)
CIE-LABlab(30.07, 48.76, 34.69)
CIE-LCHlch(30.07, 59.84, 35.43°)
OKLaboklab(41.6% 0.139 0.0724)
OKLCHoklch(41.6% 0.157 27.5)
XYZxyz(11.5072, 6.2655, 1.2194)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1313 #138E8E
analogous
#8E1351 #8E1313 #8E5113
triadic
#8E1313 #138E13 #13138E
tetradic
#8E1313 #518E13 #138E8E #51138E
square
#8E1313 #518E13 #138E8E #51138E
split-complementary
#8E1313 #138E51 #13518E
monochromatic
#220505 #580C0C #8E1313 #C41A1A #E43737

Accessibility & contrast

On white

9.32
#8E1313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#8E1313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1313
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1313#FFFFFF#000000##FFFFFF
##8E13131.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3611
Deuteranopia (green-blind)
#5B500B
Tritanopia (blue-blind)
#9D0016
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8e1313;
/* rgb */ color: rgb(142, 19, 19);
/* oklch */ color: oklch(41.6% 0.157 27.5);
Tailwind
colors: {
  custom: {
    50: '#b96052',
    500: '#8e1313',
    950: '#000000',
  },
}
SCSS
$custom: #8e1313;
$custom-light: #b96052;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1313",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 19
  },
  "hsl": {
    "h": 0,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41604,
    "c": 0.15673,
    "h": 27.5
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#8E1313
secondary
#3BC2C2
accent
#F3F335
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130502
muted
#827A78

Preview Lab

Preview with #8E1313

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

Preview Lab → · Contrast checker → · Palette generator →

#8E1313 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva