#8E1917#8E1917

#8E1917 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.1% C 0.152 H 27.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#8E1917
RGBrgb(142, 25, 23)
HSLhsl(1, 72%, 32%)
HSVhsv(1, 84%, 56%)
CMYKcmyk(0%, 82.4%, 83.8%, 44.3%)
CIE-LABlab(30.66, 47.30, 33.02)
CIE-LCHlch(30.66, 57.68, 34.92°)
OKLaboklab(42.05% 0.1352 0.0704)
OKLCHoklch(42.05% 0.152 27.5)
XYZxyz(11.6591, 6.5098, 1.4531)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1917 #178C8E
analogous
#8E1751 #8E1917 #8E5417
triadic
#8E1917 #178E19 #19178E
tetradic
#8E1917 #518E17 #178C8E #54178E
square
#8E1917 #518E17 #178C8E #54178E
split-complementary
#8E1917 #178E54 #17518E
monochromatic
#250606 #59100E #8E1917 #C32220 #E0423F

Accessibility & contrast

On white

9.12
#8E1917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8E1917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1917
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1917#FFFFFF#000000##FFFFFF
##8E19171.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#5B5111
Tritanopia (blue-blind)
#9D001A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1917;
/* rgb */ color: rgb(142, 25, 23);
/* oklch */ color: oklch(42.1% 0.152 27.5);
Tailwind
colors: {
  custom: {
    50: '#b86255',
    500: '#8e1917',
    950: '#000000',
  },
}
SCSS
$custom: #8e1917;
$custom-light: #b86255;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1917",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 1.008,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42054,
    "c": 0.15243,
    "h": 27.5
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#8E1917
secondary
#40BEC0
accent
#ECEF39
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78

Preview Lab

Preview with #8E1917

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

Preview Lab → · Contrast checker → · Palette generator →

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