#8E162F#8E162F

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

Color values

HEX#8E162F
RGBrgb(142, 22, 47)
HSLhsl(348, 73%, 32%)
HSVhsv(348, 85%, 56%)
CMYKcmyk(0%, 84.5%, 66.9%, 44.3%)
CIE-LABlab(30.72, 49.17, 18.06)
CIE-LCHlch(30.72, 52.38, 20.17°)
OKLaboklab(42.2% 0.1467 0.0431)
OKLCHoklch(42.2% 0.153 16.4)
XYZxyz(11.9567, 6.5317, 3.3199)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E162F #168E75
analogous
#8E166B #8E162F #8E3916
triadic
#8E162F #2F8E16 #162F8E
tetradic
#8E162F #6B8E16 #168E75 #39168E
square
#8E162F #6B8E16 #168E75 #39168E
split-complementary
#8E162F #168E39 #166B8E
monochromatic
#24060C #590E1D #8E162F #C31E41 #E13D5F

Accessibility & contrast

On white

9.11
#8E162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8E162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E162F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E162F#FFFFFF#000000##FFFFFF
##8E162F1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382F
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#9C0021
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e162f;
/* rgb */ color: rgb(142, 22, 47);
/* oklch */ color: oklch(42.2% 0.153 16.4);
Tailwind
colors: {
  custom: {
    50: '#b66267',
    500: '#8e162f',
    950: '#000000',
  },
}
SCSS
$custom: #8e162f;
$custom-light: #b66267;
$custom-dark: #000000;
JSON
{
  "hex": "#8e162f",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 347.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42202,
    "c": 0.1529,
    "h": 16.4
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#8E162F
secondary
#3FC1A6
accent
#F0CA38
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E162F

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

Preview Lab → · Contrast checker → · Palette generator →

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