#8E1817#8E1817

#8E1817 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.153 H 27.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#8E1817
RGBrgb(142, 24, 23)
HSLhsl(1, 72%, 32%)
HSVhsv(1, 84%, 56%)
CMYKcmyk(0%, 83.1%, 83.8%, 44.3%)
CIE-LABlab(30.56, 47.58, 32.92)
CIE-LCHlch(30.56, 57.86, 34.68°)
OKLaboklab(41.98% 0.1361 0.0702)
OKLCHoklch(41.98% 0.153 27.3)
XYZxyz(11.6381, 6.4678, 1.4461)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1817 #178D8E
analogous
#8E1752 #8E1817 #8E5317
triadic
#8E1817 #178E18 #18178E
tetradic
#8E1817 #528E17 #178D8E #53178E
square
#8E1817 #528E17 #178D8E #53178E
split-complementary
#8E1817 #178E53 #17528E
monochromatic
#250606 #590F0E #8E1817 #C32120 #E0413F

Accessibility & contrast

On white

9.16
#8E1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1817
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1817#FFFFFF#000000##FFFFFF
##8E18171.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.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: #8e1817;
/* rgb */ color: rgb(142, 24, 23);
/* oklch */ color: oklch(42.0% 0.153 27.3);
Tailwind
colors: {
  custom: {
    50: '#b86255',
    500: '#8e1817',
    950: '#000000',
  },
}
SCSS
$custom: #8e1817;
$custom-light: #b86255;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1817",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.504,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4198,
    "c": 0.15312,
    "h": 27.3
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#8E1817
secondary
#40BFC0
accent
#EDEF39
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78

Preview Lab

Preview with #8E1817

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

Preview Lab → · Contrast checker → · Palette generator →

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