#8F176A#8F176A

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

Color values

HEX#8F176A
RGBrgb(143, 23, 106)
HSLhsl(319, 72%, 33%)
HSVhsv(319, 84%, 56%)
CMYKcmyk(0%, 83.9%, 25.9%, 43.9%)
CIE-LABlab(32.91, 54.73, -17.41)
CIE-LCHlch(32.91, 57.43, 342.35°)
OKLaboklab(44.46% 0.166 -0.0465)
OKLCHoklch(44.46% 0.172 344.4)
XYZxyz(14.2362, 7.4946, 14.3298)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F176A #178F3C
analogous
#78178F #8F176A #8F172E
triadic
#8F176A #6A8F17 #176A8F
tetradic
#8F176A #8F7817 #178F3C #172E8F
square
#8F176A #8F7817 #178F3C #172E8F
split-complementary
#8F176A #2E8F17 #178F78
monochromatic
#26061C #5A0F43 #8F176A #C41F91 #E040AF

Accessibility & contrast

On white

8.40
#8F176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F176A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F176A#FFFFFF#000000##FFFFFF
##8F176A1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416C
Deuteranopia (green-blind)
#4E5467
Tritanopia (blue-blind)
#991540
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f176a;
/* rgb */ color: rgb(143, 23, 106);
/* oklch */ color: oklch(44.5% 0.172 344.4);
Tailwind
colors: {
  custom: {
    50: '#b46594',
    500: '#8f176a',
    950: '#000000',
  },
}
SCSS
$custom: #8f176a;
$custom-light: #b46594;
$custom-dark: #000000;
JSON
{
  "hex": "#8f176a",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 318.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44457,
    "c": 0.17236,
    "h": 344.4
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#8F176A
secondary
#41C168
accent
#EF7139
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F176A

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

Preview Lab → · Contrast checker → · Palette generator →

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