#8E175D#8E175D

#8E175D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.164 H 350.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#8E175D
RGBrgb(142, 23, 93)
HSLhsl(325, 72%, 32%)
HSVhsv(325, 84%, 56%)
CMYKcmyk(0%, 83.8%, 34.5%, 44.3%)
CIE-LABlab(32.16, 52.90, -10.19)
CIE-LCHlch(32.16, 53.87, 349.09°)
OKLaboklab(43.7% 0.1623 -0.0265)
OKLCHoklch(43.7% 0.164 350.7)
XYZxyz(13.4383, 7.1555, 11.0273)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E175D #178E48
analogous
#84178E #8E175D #8E1721
triadic
#8E175D #5D8E17 #175D8E
tetradic
#8E175D #8E8417 #178E48 #17218E
square
#8E175D #8E8417 #178E48 #17218E
split-complementary
#8E175D #218E17 #178E84
monochromatic
#250618 #590E3B #8E175D #C3207F #E03F9E

Accessibility & contrast

On white

8.64
#8E175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8E175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E175D
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E175D#FFFFFF#000000##FFFFFF
##8E175D1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E5F
Deuteranopia (green-blind)
#51535A
Tritanopia (blue-blind)
#990A39
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e175d;
/* rgb */ color: rgb(142, 23, 93);
/* oklch */ color: oklch(43.7% 0.164 350.7);
Tailwind
colors: {
  custom: {
    50: '#b4648b',
    500: '#8e175d',
    950: '#000000',
  },
}
SCSS
$custom: #8e175d;
$custom-light: #b4648b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e175d",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 324.706,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43699,
    "c": 0.16448,
    "h": 350.7
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#8E175D
secondary
#40C075
accent
#EF8439
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E175D

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

Preview Lab → · Contrast checker → · Palette generator →

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