#8E161B#8E161B

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

Color values

HEX#8E161B
RGBrgb(142, 22, 27)
HSLhsl(358, 73%, 32%)
HSVhsv(358, 85%, 56%)
CMYKcmyk(0%, 84.5%, 81%, 44.3%)
CIE-LABlab(30.41, 48.25, 30.43)
CIE-LCHlch(30.41, 57.05, 32.24°)
OKLaboklab(41.88% 0.1391 0.0662)
OKLCHoklch(41.88% 0.154 25.4)
XYZxyz(11.6415, 6.4056, 1.6601)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E161B #168E89
analogous
#8E1657 #8E161B #8E4D16
triadic
#8E161B #1B8E16 #161B8E
tetradic
#8E161B #578E16 #168E89 #4D168E
square
#8E161B #578E16 #168E89 #4D168E
split-complementary
#8E161B #168E4D #16578E
monochromatic
#240607 #590E11 #8E161B #C31E25 #E13D44

Accessibility & contrast

On white

9.21
#8E161B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E161B
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E161B#FFFFFF#000000##FFFFFF
##8E161B1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e161b;
/* rgb */ color: rgb(142, 22, 27);
/* oklch */ color: oklch(41.9% 0.154 25.4);
Tailwind
colors: {
  custom: {
    50: '#b86158',
    500: '#8e161b',
    950: '#000000',
  },
}
SCSS
$custom: #8e161b;
$custom-light: #b86158;
$custom-dark: #000000;
JSON
{
  "hex": "#8e161b",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 357.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.15402,
    "h": 25.4
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#8E161B
secondary
#3FC1BC
accent
#F0E838
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E161B

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

Preview Lab → · Contrast checker → · Palette generator →

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