#8E161F#8E161F

#8E161F is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.9% C 0.154 H 23.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#8E161F
RGBrgb(142, 22, 31)
HSLhsl(356, 73%, 32%)
HSVhsv(356, 85%, 56%)
CMYKcmyk(0%, 84.5%, 78.2%, 44.3%)
CIE-LABlab(30.46, 48.40, 28.04)
CIE-LCHlch(30.46, 55.93, 30.09°)
OKLaboklab(41.93% 0.1405 0.0622)
OKLCHoklch(41.93% 0.154 23.9)
XYZxyz(11.6910, 6.4254, 1.9207)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E161F #168E85
analogous
#8E165B #8E161F #8E4916
triadic
#8E161F #1F8E16 #161F8E
tetradic
#8E161F #5B8E16 #168E85 #49168E
square
#8E161F #5B8E16 #168E85 #49168E
split-complementary
#8E161F #168E49 #165B8E
monochromatic
#240608 #590E13 #8E161F #C31E2B #E13D4A

Accessibility & contrast

On white

9.19
#8E161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8E161F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E161F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E161F#FFFFFF#000000##FFFFFF
##8E161F1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e161f;
/* rgb */ color: rgb(142, 22, 31);
/* oklch */ color: oklch(41.9% 0.154 23.9);
Tailwind
colors: {
  custom: {
    50: '#b8625b',
    500: '#8e161f',
    950: '#000000',
  },
}
SCSS
$custom: #8e161f;
$custom-light: #b8625b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e161f",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 355.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41932,
    "c": 0.15362,
    "h": 23.9
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#8E161F
secondary
#3FC1B7
accent
#F0E238
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E161F

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

Preview Lab → · Contrast checker → · Palette generator →

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