#8F176D#8F176D

#8F176D is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.6% C 0.174 H 342.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8F176D
RGBrgb(143, 23, 109)
HSLhsl(317, 72%, 33%)
HSVhsv(317, 84%, 56%)
CMYKcmyk(0%, 83.9%, 23.8%, 43.9%)
CIE-LABlab(33.05, 55.12, -19.11)
CIE-LCHlch(33.05, 58.34, 340.88°)
OKLaboklab(44.6% 0.1665 -0.0513)
OKLCHoklch(44.6% 0.174 342.9)
XYZxyz(14.3950, 7.5581, 15.1658)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F176D #178F39
analogous
#75178F #8F176D #8F1731
triadic
#8F176D #6D8F17 #176D8F
tetradic
#8F176D #8F7517 #178F39 #17318F
square
#8F176D #8F7517 #178F39 #17318F
split-complementary
#8F176D #318F17 #178F75
monochromatic
#26061D #5A0F45 #8F176D #C41F95 #E040B3

Accessibility & contrast

On white

8.36
#8F176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8F176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F176D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F176D#FFFFFF#000000##FFFFFF
##8F176D1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416F
Deuteranopia (green-blind)
#4D556A
Tritanopia (blue-blind)
#991842
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f176d;
/* rgb */ color: rgb(143, 23, 109);
/* oklch */ color: oklch(44.6% 0.174 342.9);
Tailwind
colors: {
  custom: {
    50: '#b46597',
    500: '#8f176d',
    950: '#000000',
  },
}
SCSS
$custom: #8f176d;
$custom-light: #b46597;
$custom-dark: #000000;
JSON
{
  "hex": "#8f176d",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 317,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44601,
    "c": 0.17418,
    "h": 342.9
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#8F176D
secondary
#41C165
accent
#EF6C39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F176D

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

Preview Lab → · Contrast checker → · Palette generator →

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