#8E1712#8E1712

#8E1712 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.9% C 0.154 H 28.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#8E1712
RGBrgb(142, 23, 18)
HSLhsl(2, 78%, 31%)
HSVhsv(2, 87%, 56%)
CMYKcmyk(0%, 83.8%, 87.3%, 44.3%)
CIE-LABlab(30.42, 47.72, 35.53)
CIE-LCHlch(30.42, 59.50, 36.67°)
OKLaboklab(41.86% 0.1356 0.0739)
OKLCHoklch(41.86% 0.154 28.6)
XYZxyz(11.5724, 6.4092, 1.1999)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1712 #12898E
analogous
#8E124B #8E1712 #8E5512
triadic
#8E1712 #128E17 #17128E
tetradic
#8E1712 #4B8E12 #12898E #55128E
square
#8E1712 #4B8E12 #12898E #55128E
split-complementary
#8E1712 #128E55 #124B8E
monochromatic
#210504 #580E0B #8E1712 #C42019 #E53C35

Accessibility & contrast

On white

9.20
#8E1712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8E1712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1712
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1712#FFFFFF#000000##FFFFFF
##8E17121.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370F
Deuteranopia (green-blind)
#5B510A
Tritanopia (blue-blind)
#9D0018
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1712;
/* rgb */ color: rgb(142, 23, 18);
/* oklch */ color: oklch(41.9% 0.154 28.6);
Tailwind
colors: {
  custom: {
    50: '#b96252',
    500: '#8e1712',
    950: '#000000',
  },
}
SCSS
$custom: #8e1712;
$custom-light: #b96252;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1712",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 18
  },
  "hsl": {
    "h": 2.419,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41861,
    "c": 0.15437,
    "h": 28.6
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#8E1712
secondary
#3ABDC2
accent
#ECF434
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8E1712

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

Preview Lab → · Contrast checker → · Palette generator →

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