#8E1731#8E1731

#8E1731 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.152 H 15.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8E1731
RGBrgb(142, 23, 49)
HSLhsl(347, 72%, 32%)
HSVhsv(347, 84%, 56%)
CMYKcmyk(0%, 83.8%, 65.5%, 44.3%)
CIE-LABlab(30.85, 49.02, 16.92)
CIE-LCHlch(30.85, 51.86, 19.04°)
OKLaboklab(42.31% 0.1467 0.0407)
OKLCHoklch(42.31% 0.152 15.5)
XYZxyz(12.0174, 6.5872, 3.5438)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1731 #178E74
analogous
#8E176C #8E1731 #8E3917
triadic
#8E1731 #318E17 #17318E
tetradic
#8E1731 #6C8E17 #178E74 #39178E
square
#8E1731 #6C8E17 #178E74 #39178E
split-complementary
#8E1731 #178E39 #176C8E
monochromatic
#25060D #590E1F #8E1731 #C32043 #E03F63

Accessibility & contrast

On white

9.06
#8E1731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8E1731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1731
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1731#FFFFFF#000000##FFFFFF
##8E17311.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3931
Deuteranopia (green-blind)
#59512E
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1731;
/* rgb */ color: rgb(142, 23, 49);
/* oklch */ color: oklch(42.3% 0.152 15.5);
Tailwind
colors: {
  custom: {
    50: '#b66268',
    500: '#8e1731',
    950: '#000000',
  },
}
SCSS
$custom: #8e1731;
$custom-light: #b66268;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1731",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 346.891,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42312,
    "c": 0.15221,
    "h": 15.5
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#8E1731
secondary
#40C0A4
accent
#EFC739
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1731

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

Preview Lab → · Contrast checker → · Palette generator →

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