#8F175B#8F175B

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

Color values

HEX#8F175B
RGBrgb(143, 23, 91)
HSLhsl(326, 72%, 33%)
HSVhsv(326, 84%, 56%)
CMYKcmyk(0%, 83.9%, 36.4%, 43.9%)
CIE-LABlab(32.28, 52.93, -8.69)
CIE-LCHlch(32.28, 53.64, 350.67°)
OKLaboklab(43.8% 0.1627 -0.0224)
OKLCHoklch(43.8% 0.164 352.1)
XYZxyz(13.5233, 7.2095, 10.5749)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F175B #178F4B
analogous
#87178F #8F175B #8F171F
triadic
#8F175B #5B8F17 #175B8F
tetradic
#8F175B #8F8717 #178F4B #171F8F
square
#8F175B #8F8717 #178F4B #171F8F
split-complementary
#8F175B #1F8F17 #178F87
monochromatic
#260618 #5A0F39 #8F175B #C41F7D #E0409B

Accessibility & contrast

On white

8.60
#8F175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F175B
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F175B#FFFFFF#000000##FFFFFF
##8F175B1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5D
Deuteranopia (green-blind)
#525458
Tritanopia (blue-blind)
#9B0638
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f175b;
/* rgb */ color: rgb(143, 23, 91);
/* oklch */ color: oklch(43.8% 0.164 352.1);
Tailwind
colors: {
  custom: {
    50: '#b46489',
    500: '#8f175b',
    950: '#000000',
  },
}
SCSS
$custom: #8f175b;
$custom-light: #b46489;
$custom-dark: #000000;
JSON
{
  "hex": "#8f175b",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 326,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43797,
    "c": 0.1642,
    "h": 352.1
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#8F175B
secondary
#41C178
accent
#EF8839
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8F175B

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

Preview Lab → · Contrast checker → · Palette generator →

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