#8E162B#8E162B

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

Color values

HEX#8E162B
RGBrgb(142, 22, 43)
HSLhsl(350, 73%, 32%)
HSVhsv(350, 85%, 56%)
CMYKcmyk(0%, 84.5%, 69.7%, 44.3%)
CIE-LABlab(30.64, 48.95, 20.59)
CIE-LCHlch(30.64, 53.10, 22.82°)
OKLaboklab(42.12% 0.1451 0.0483)
OKLCHoklch(42.12% 0.153 18.4)
XYZxyz(11.8796, 6.5009, 2.9143)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E162B #168E79
analogous
#8E1667 #8E162B #8E3D16
triadic
#8E162B #2B8E16 #162B8E
tetradic
#8E162B #678E16 #168E79 #3D168E
square
#8E162B #678E16 #168E79 #3D168E
split-complementary
#8E162B #168E3D #16678E
monochromatic
#24060B #590E1B #8E162B #C31E3B #E13D5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E162B#FFFFFF#000000##FFFFFF
##8E162B1.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)
#3C382B
Deuteranopia (green-blind)
#595127
Tritanopia (blue-blind)
#9C0020
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e162b;
/* rgb */ color: rgb(142, 22, 43);
/* oklch */ color: oklch(42.1% 0.153 18.4);
Tailwind
colors: {
  custom: {
    50: '#b76264',
    500: '#8e162b',
    950: '#000000',
  },
}
SCSS
$custom: #8e162b;
$custom-light: #b76264;
$custom-dark: #000000;
JSON
{
  "hex": "#8e162b",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 349.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42124,
    "c": 0.1529,
    "h": 18.4
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#8E162B
secondary
#3FC1AA
accent
#F0D038
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8E162B

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

Preview Lab → · Contrast checker → · Palette generator →

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