#8E181B#8E181B

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

Color values

HEX#8E181B
RGBrgb(142, 24, 27)
HSLhsl(358, 71%, 33%)
HSVhsv(358, 83%, 56%)
CMYKcmyk(0%, 83.1%, 81%, 44.3%)
CIE-LABlab(30.60, 47.71, 30.63)
CIE-LCHlch(30.60, 56.69, 32.70°)
OKLaboklab(42.02% 0.1374 0.0666)
OKLCHoklch(42.02% 0.153 25.9)
XYZxyz(11.6812, 6.4851, 1.6734)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E181B #188E8B
analogous
#8E1856 #8E181B #8E5018
triadic
#8E181B #1B8E18 #181B8E
tetradic
#8E181B #568E18 #188E8B #50188E
square
#8E181B #568E18 #188E8B #50188E
split-complementary
#8E181B #188E50 #18568E
monochromatic
#250607 #5A0F11 #8E181B #C22125 #DF4145

Accessibility & contrast

On white

9.14
#8E181B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E181B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E181B#FFFFFF#000000##FFFFFF
##8E181B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e181b;
/* rgb */ color: rgb(142, 24, 27);
/* oklch */ color: oklch(42.0% 0.153 25.9);
Tailwind
colors: {
  custom: {
    50: '#b86258',
    500: '#8e181b',
    950: '#000000',
  },
}
SCSS
$custom: #8e181b;
$custom-light: #b86258;
$custom-dark: #000000;
JSON
{
  "hex": "#8e181b",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 358.475,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42024,
    "c": 0.15266,
    "h": 25.9
  },
  "luminance": 0.06483
}

Semantic roles & 50–950 ramp

primary
#8E181B
secondary
#42C0BC
accent
#EEE93A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E181B

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

Preview Lab → · Contrast checker → · Palette generator →

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