#8E175C#8E175C

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

Color values

HEX#8E175C
RGBrgb(142, 23, 92)
HSLhsl(325, 72%, 32%)
HSVhsv(325, 84%, 56%)
CMYKcmyk(0%, 83.8%, 35.2%, 44.3%)
CIE-LABlab(32.12, 52.79, -9.60)
CIE-LCHlch(32.12, 53.65, 349.69°)
OKLaboklab(43.66% 0.1621 -0.0249)
OKLCHoklch(43.66% 0.164 351.3)
XYZxyz(13.3943, 7.1379, 10.7956)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E175C #178E49
analogous
#84178E #8E175C #8E1721
triadic
#8E175C #5C8E17 #175C8E
tetradic
#8E175C #8E8417 #178E49 #17218E
square
#8E175C #8E8417 #178E49 #17218E
split-complementary
#8E175C #218E17 #178E84
monochromatic
#250618 #590E3A #8E175C #C3207E #E03F9D

Accessibility & contrast

On white

8.65
#8E175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E175C
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E175C#FFFFFF#000000##FFFFFF
##8E175C1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5E
Deuteranopia (green-blind)
#515359
Tritanopia (blue-blind)
#990838
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e175c;
/* rgb */ color: rgb(142, 23, 92);
/* oklch */ color: oklch(43.7% 0.164 351.3);
Tailwind
colors: {
  custom: {
    50: '#b4648a',
    500: '#8e175c',
    950: '#000000',
  },
}
SCSS
$custom: #8e175c;
$custom-light: #b4648a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e175c",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 325.21,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.16398,
    "h": 351.3
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#8E175C
secondary
#40C076
accent
#EF8539
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E175C

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

Preview Lab → · Contrast checker → · Palette generator →

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