#8F176F#8F176F

#8F176F is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.175 H 341.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8F176F
RGBrgb(143, 23, 111)
HSLhsl(316, 72%, 33%)
HSVhsv(316, 84%, 56%)
CMYKcmyk(0%, 83.9%, 22.4%, 43.9%)
CIE-LABlab(33.14, 55.38, -20.24)
CIE-LCHlch(33.14, 58.97, 339.92°)
OKLaboklab(44.7% 0.1668 -0.0545)
OKLCHoklch(44.7% 0.175 341.9)
XYZxyz(14.5039, 7.6017, 15.7393)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F176F #178F37
analogous
#73178F #8F176F #8F1733
triadic
#8F176F #6F8F17 #176F8F
tetradic
#8F176F #8F7317 #178F37 #17338F
square
#8F176F #8F7317 #178F37 #17338F
split-complementary
#8F176F #338F17 #178F73
monochromatic
#26061D #5A0F46 #8F176F #C41F98 #E040B6

Accessibility & contrast

On white

8.33
#8F176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8F176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F176F
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F176F#FFFFFF#000000##FFFFFF
##8F176F1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#4C556C
Tritanopia (blue-blind)
#981943
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f176f;
/* rgb */ color: rgb(143, 23, 111);
/* oklch */ color: oklch(44.7% 0.175 341.9);
Tailwind
colors: {
  custom: {
    50: '#b46598',
    500: '#8f176f',
    950: '#000000',
  },
}
SCSS
$custom: #8f176f;
$custom-light: #b46598;
$custom-dark: #000000;
JSON
{
  "hex": "#8f176f",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 316,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44699,
    "c": 0.17542,
    "h": 341.9
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#8F176F
secondary
#41C163
accent
#EF6939
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F176F

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

Preview Lab → · Contrast checker → · Palette generator →

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