#8F175A#8F175A

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

Color values

HEX#8F175A
RGBrgb(143, 23, 90)
HSLhsl(327, 72%, 33%)
HSVhsv(327, 84%, 56%)
CMYKcmyk(0%, 83.9%, 37.1%, 43.9%)
CIE-LABlab(32.24, 52.82, -8.10)
CIE-LCHlch(32.24, 53.43, 351.28°)
OKLaboklab(43.76% 0.1624 -0.0208)
OKLCHoklch(43.76% 0.164 352.7)
XYZxyz(13.4804, 7.1923, 10.3493)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F175A #178F4C
analogous
#88178F #8F175A #8F171E
triadic
#8F175A #5A8F17 #175A8F
tetradic
#8F175A #8F8817 #178F4C #171E8F
square
#8F175A #8F8817 #178F4C #171E8F
split-complementary
#8F175A #1E8F17 #178F88
monochromatic
#260618 #5A0F39 #8F175A #C41F7B #E0409A

Accessibility & contrast

On white

8.61
#8F175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8F175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F175A
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F175A#FFFFFF#000000##FFFFFF
##8F175A1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5C
Deuteranopia (green-blind)
#525357
Tritanopia (blue-blind)
#9B0537
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f175a;
/* rgb */ color: rgb(143, 23, 90);
/* oklch */ color: oklch(43.8% 0.164 352.7);
Tailwind
colors: {
  custom: {
    50: '#b56488',
    500: '#8f175a',
    950: '#000000',
  },
}
SCSS
$custom: #8f175a;
$custom-light: #b56488;
$custom-dark: #000000;
JSON
{
  "hex": "#8f175a",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 326.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43756,
    "c": 0.16372,
    "h": 352.7
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#8F175A
secondary
#41C179
accent
#EF8939
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8F175A

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

Preview Lab → · Contrast checker → · Palette generator →

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