#8E1718#8E1718

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

Color values

HEX#8E1718
RGBrgb(142, 23, 24)
HSLhsl(359, 72%, 32%)
HSVhsv(359, 84%, 56%)
CMYKcmyk(0%, 83.8%, 83.1%, 44.3%)
CIE-LABlab(30.48, 47.89, 32.26)
CIE-LCHlch(30.48, 57.74, 33.97°)
OKLaboklab(41.92% 0.1373 0.0691)
OKLCHoklch(41.92% 0.154 26.7)
XYZxyz(11.6280, 6.4314, 1.4931)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1718 #178E8D
analogous
#8E1753 #8E1718 #8E5217
triadic
#8E1718 #188E17 #17188E
tetradic
#8E1718 #538E17 #178E8D #52178E
square
#8E1718 #538E17 #178E8D #52178E
split-complementary
#8E1718 #178E52 #17538E
monochromatic
#250606 #590E0F #8E1718 #C32021 #E03F41

Accessibility & contrast

On white

9.19
#8E1718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1718
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1718#FFFFFF#000000##FFFFFF
##8E17181.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1718;
/* rgb */ color: rgb(142, 23, 24);
/* oklch */ color: oklch(41.9% 0.154 26.7);
Tailwind
colors: {
  custom: {
    50: '#b86256',
    500: '#8e1718',
    950: '#000000',
  },
}
SCSS
$custom: #8e1718;
$custom-light: #b86256;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1718",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 24
  },
  "hsl": {
    "h": 359.496,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.15368,
    "h": 26.7
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#8E1718
secondary
#40C0BF
accent
#EFED39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E1718

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

Preview Lab → · Contrast checker → · Palette generator →

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