#8E181F#8E181F

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

Color values

HEX#8E181F
RGBrgb(142, 24, 31)
HSLhsl(356, 71%, 33%)
HSVhsv(356, 83%, 56%)
CMYKcmyk(0%, 83.1%, 78.2%, 44.3%)
CIE-LABlab(30.65, 47.86, 28.25)
CIE-LCHlch(30.65, 55.57, 30.56°)
OKLaboklab(42.07% 0.1387 0.0627)
OKLCHoklch(42.07% 0.152 24.3)
XYZxyz(11.7307, 6.5049, 1.9340)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E181F #188E87
analogous
#8E185A #8E181F #8E4C18
triadic
#8E181F #1F8E18 #181F8E
tetradic
#8E181F #5A8E18 #188E87 #4C188E
square
#8E181F #5A8E18 #188E87 #4C188E
split-complementary
#8E181F #188E4C #185A8E
monochromatic
#250608 #5A0F14 #8E181F #C2212A #DF414B

Accessibility & contrast

On white

9.13
#8E181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E181F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E181F#FFFFFF#000000##FFFFFF
##8E181F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381E
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#9D001C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e181f;
/* rgb */ color: rgb(142, 24, 31);
/* oklch */ color: oklch(42.1% 0.152 24.3);
Tailwind
colors: {
  custom: {
    50: '#b8625b',
    500: '#8e181f',
    950: '#000000',
  },
}
SCSS
$custom: #8e181f;
$custom-light: #b8625b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e181f",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 356.441,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42074,
    "c": 0.15224,
    "h": 24.3
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#8E181F
secondary
#42C0B8
accent
#EEE33A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E181F

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

Preview Lab → · Contrast checker → · Palette generator →

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