#8E1A17#8E1A17

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

Color values

HEX#8E1A17
RGBrgb(142, 26, 23)
HSLhsl(2, 72%, 32%)
HSVhsv(2, 84%, 56%)
CMYKcmyk(0%, 81.7%, 83.8%, 44.3%)
CIE-LABlab(30.77, 47.00, 33.12)
CIE-LCHlch(30.77, 57.50, 35.17°)
OKLaboklab(42.13% 0.1343 0.0706)
OKLCHoklch(42.13% 0.152 27.7)
XYZxyz(11.6808, 6.5533, 1.4603)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A17 #178B8E
analogous
#8E174F #8E1A17 #8E5617
triadic
#8E1A17 #178E1A #1A178E
tetradic
#8E1A17 #4F8E17 #178B8E #56178E
square
#8E1A17 #4F8E17 #178B8E #56178E
split-complementary
#8E1A17 #178E56 #174F8E
monochromatic
#250706 #59100E #8E1A17 #C32420 #E0433F

Accessibility & contrast

On white

9.09
#8E1A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8E1A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A17
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A17#FFFFFF#000000##FFFFFF
##8E1A171.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1a17;
/* rgb */ color: rgb(142, 26, 23);
/* oklch */ color: oklch(42.1% 0.152 27.7);
Tailwind
colors: {
  custom: {
    50: '#b86355',
    500: '#8e1a17',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a17;
$custom-light: #b86355;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a17",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 23
  },
  "hsl": {
    "h": 1.513,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42131,
    "c": 0.15172,
    "h": 27.7
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#8E1A17
secondary
#40BDC0
accent
#EAEF39
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78

Preview Lab

Preview with #8E1A17

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

Preview Lab → · Contrast checker → · Palette generator →

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