#8F175D#8F175D

#8F175D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.9% C 0.165 H 351.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8F175D
RGBrgb(143, 23, 93)
HSLhsl(325, 72%, 33%)
HSVhsv(325, 84%, 56%)
CMYKcmyk(0%, 83.9%, 35%, 43.9%)
CIE-LABlab(32.36, 53.15, -9.87)
CIE-LCHlch(32.36, 54.06, 349.48°)
OKLaboklab(43.88% 0.1632 -0.0256)
OKLCHoklch(43.88% 0.165 351.1)
XYZxyz(13.6107, 7.2444, 11.0354)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F175D #178F49
analogous
#85178F #8F175D #8F1721
triadic
#8F175D #5D8F17 #175D8F
tetradic
#8F175D #8F8517 #178F49 #17218F
square
#8F175D #8F8517 #178F49 #17218F
split-complementary
#8F175D #218F17 #178F85
monochromatic
#260618 #5A0F3B #8F175D #C41F7F #E0409E

Accessibility & contrast

On white

8.58
#8F175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8F175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F175D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F175D#FFFFFF#000000##FFFFFF
##8F175D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F5F
Deuteranopia (green-blind)
#51545A
Tritanopia (blue-blind)
#9A0939
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f175d;
/* rgb */ color: rgb(143, 23, 93);
/* oklch */ color: oklch(43.9% 0.165 351.1);
Tailwind
colors: {
  custom: {
    50: '#b4648b',
    500: '#8f175d',
    950: '#000000',
  },
}
SCSS
$custom: #8f175d;
$custom-light: #b4648b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f175d",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 325,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43879,
    "c": 0.16518,
    "h": 351.1
  },
  "luminance": 0.07243
}

Semantic roles & 50–950 ramp

primary
#8F175D
secondary
#41C176
accent
#EF8539
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8F175D

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

Preview Lab → · Contrast checker → · Palette generator →

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