#8F176B#8F176B

#8F176B is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.173 H 343.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8F176B
RGBrgb(143, 23, 107)
HSLhsl(318, 72%, 33%)
HSVhsv(318, 84%, 56%)
CMYKcmyk(0%, 83.9%, 25.2%, 43.9%)
CIE-LABlab(32.95, 54.86, -17.98)
CIE-LCHlch(32.95, 57.73, 341.85°)
OKLaboklab(44.5% 0.1661 -0.0481)
OKLCHoklch(44.5% 0.173 343.9)
XYZxyz(14.2885, 7.5156, 14.6052)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F176B #178F3B
analogous
#77178F #8F176B #8F172F
triadic
#8F176B #6B8F17 #176B8F
tetradic
#8F176B #8F7717 #178F3B #172F8F
square
#8F176B #8F7717 #178F3B #172F8F
split-complementary
#8F176B #2F8F17 #178F77
monochromatic
#26061C #5A0F44 #8F176B #C41F92 #E040B0

Accessibility & contrast

On white

8.39
#8F176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8F176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F176B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F176B#FFFFFF#000000##FFFFFF
##8F176B1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#4D5468
Tritanopia (blue-blind)
#991640
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f176b;
/* rgb */ color: rgb(143, 23, 107);
/* oklch */ color: oklch(44.5% 0.173 343.9);
Tailwind
colors: {
  custom: {
    50: '#b46595',
    500: '#8f176b',
    950: '#000000',
  },
}
SCSS
$custom: #8f176b;
$custom-light: #b46595;
$custom-dark: #000000;
JSON
{
  "hex": "#8f176b",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 318,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44504,
    "c": 0.17296,
    "h": 343.9
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#8F176B
secondary
#41C167
accent
#EF6F39
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F176B

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

Preview Lab → · Contrast checker → · Palette generator →

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