#8E1732#8E1732

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

Color values

HEX#8E1732
RGBrgb(142, 23, 50)
HSLhsl(346, 72%, 32%)
HSVhsv(346, 84%, 56%)
CMYKcmyk(0%, 83.8%, 64.8%, 44.3%)
CIE-LABlab(30.87, 49.08, 16.28)
CIE-LCHlch(30.87, 51.72, 18.35°)
OKLaboklab(42.33% 0.1471 0.0394)
OKLCHoklch(42.33% 0.152 15)
XYZxyz(12.0388, 6.5957, 3.6562)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1732 #178E73
analogous
#8E176D #8E1732 #8E3817
triadic
#8E1732 #328E17 #17328E
tetradic
#8E1732 #6D8E17 #178E73 #38178E
square
#8E1732 #6D8E17 #178E73 #38178E
split-complementary
#8E1732 #178E38 #176D8E
monochromatic
#25060D #590E1F #8E1732 #C32045 #E03F64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1732#FFFFFF#000000##FFFFFF
##8E17321.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)
#3B3932
Deuteranopia (green-blind)
#59512F
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1732;
/* rgb */ color: rgb(142, 23, 50);
/* oklch */ color: oklch(42.3% 0.152 15.0);
Tailwind
colors: {
  custom: {
    50: '#b66269',
    500: '#8e1732',
    950: '#000000',
  },
}
SCSS
$custom: #8e1732;
$custom-light: #b66269;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1732",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 50
  },
  "hsl": {
    "h": 346.387,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42334,
    "c": 0.15226,
    "h": 15
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#8E1732
secondary
#40C0A3
accent
#EFC639
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1732

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

Preview Lab → · Contrast checker → · Palette generator →

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