#8E175B#8E175B

#8E175B is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.6% C 0.163 H 351.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8E175B
RGBrgb(142, 23, 91)
HSLhsl(326, 72%, 32%)
HSVhsv(326, 84%, 56%)
CMYKcmyk(0%, 83.8%, 35.9%, 44.3%)
CIE-LABlab(32.08, 52.67, -9.01)
CIE-LCHlch(32.08, 53.44, 350.29°)
OKLaboklab(43.62% 0.1618 -0.0233)
OKLCHoklch(43.62% 0.163 351.8)
XYZxyz(13.3509, 7.1206, 10.5669)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E175B #178E4A
analogous
#85178E #8E175B #8E1720
triadic
#8E175B #5B8E17 #175B8E
tetradic
#8E175B #8E8517 #178E4A #17208E
square
#8E175B #8E8517 #178E4A #17208E
split-complementary
#8E175B #208E17 #178E85
monochromatic
#250617 #590E39 #8E175B #C3207D #E03F9B

Accessibility & contrast

On white

8.66
#8E175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8E175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E175B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E175B#FFFFFF#000000##FFFFFF
##8E175B1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5D
Deuteranopia (green-blind)
#515358
Tritanopia (blue-blind)
#990738
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e175b;
/* rgb */ color: rgb(142, 23, 91);
/* oklch */ color: oklch(43.6% 0.163 351.8);
Tailwind
colors: {
  custom: {
    50: '#b46489',
    500: '#8e175b',
    950: '#000000',
  },
}
SCSS
$custom: #8e175b;
$custom-light: #b46489;
$custom-dark: #000000;
JSON
{
  "hex": "#8e175b",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 325.714,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43616,
    "c": 0.16349,
    "h": 351.8
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#8E175B
secondary
#40C077
accent
#EF8739
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E175B

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

Preview Lab → · Contrast checker → · Palette generator →

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