#8E173D#8E173D

#8E173D is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.153 H 8.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#8E173D
RGBrgb(142, 23, 61)
HSLhsl(341, 72%, 32%)
HSVhsv(341, 84%, 56%)
CMYKcmyk(0%, 83.8%, 57%, 44.3%)
CIE-LABlab(31.12, 49.84, 9.34)
CIE-LCHlch(31.12, 50.71, 10.61°)
OKLaboklab(42.6% 0.1516 0.0237)
OKLCHoklch(42.6% 0.153 8.9)
XYZxyz(12.3052, 6.7023, 5.0597)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E173D #178E68
analogous
#8E1779 #8E173D #8E2C17
triadic
#8E173D #3D8E17 #173D8E
tetradic
#8E173D #798E17 #178E68 #2C178E
square
#8E173D #798E17 #178E68 #2C178E
split-complementary
#8E173D #178E2C #17798E
monochromatic
#250610 #590E26 #8E173D #C32054 #E03F73

Accessibility & contrast

On white

8.97
#8E173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8E173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E173D
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E173D#FFFFFF#000000##FFFFFF
##8E173D1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3E
Deuteranopia (green-blind)
#57523A
Tritanopia (blue-blind)
#9C0028
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e173d;
/* rgb */ color: rgb(142, 23, 61);
/* oklch */ color: oklch(42.6% 0.153 8.9);
Tailwind
colors: {
  custom: {
    50: '#b56372',
    500: '#8e173d',
    950: '#000000',
  },
}
SCSS
$custom: #8e173d;
$custom-light: #b56372;
$custom-dark: #000000;
JSON
{
  "hex": "#8e173d",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 340.84,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.426,
    "c": 0.1534,
    "h": 8.9
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

primary
#8E173D
secondary
#40C097
accent
#EFB539
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E173D

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

Preview Lab → · Contrast checker → · Palette generator →

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