#8E1812#8E1812

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

Color values

HEX#8E1812
RGBrgb(142, 24, 18)
HSLhsl(3, 78%, 31%)
HSVhsv(3, 87%, 56%)
CMYKcmyk(0%, 83.1%, 87.3%, 44.3%)
CIE-LABlab(30.52, 47.45, 35.62)
CIE-LCHlch(30.52, 59.33, 36.89°)
OKLaboklab(41.93% 0.1347 0.0741)
OKLCHoklch(41.93% 0.154 28.8)
XYZxyz(11.5926, 6.4496, 1.2067)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1812 #12888E
analogous
#8E124A #8E1812 #8E5612
triadic
#8E1812 #128E18 #18128E
tetradic
#8E1812 #4A8E12 #12888E #56128E
square
#8E1812 #4A8E12 #12888E #56128E
split-complementary
#8E1812 #128E56 #124A8E
monochromatic
#210604 #580F0B #8E1812 #C42119 #E53E35

Accessibility & contrast

On white

9.17
#8E1812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8E1812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1812
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1812#FFFFFF#000000##FFFFFF
##8E18121.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1812;
/* rgb */ color: rgb(142, 24, 18);
/* oklch */ color: oklch(41.9% 0.154 28.8);
Tailwind
colors: {
  custom: {
    50: '#b86252',
    500: '#8e1812',
    950: '#000000',
  },
}
SCSS
$custom: #8e1812;
$custom-light: #b86252;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1812",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 2.903,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41934,
    "c": 0.15371,
    "h": 28.8
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#8E1812
secondary
#3ABCC2
accent
#EBF434
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8E1812

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

Preview Lab → · Contrast checker → · Palette generator →

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