#8F176E#8F176E

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

Color values

HEX#8F176E
RGBrgb(143, 23, 110)
HSLhsl(317, 72%, 33%)
HSVhsv(317, 84%, 56%)
CMYKcmyk(0%, 83.9%, 23.1%, 43.9%)
CIE-LABlab(33.09, 55.25, -19.68)
CIE-LCHlch(33.09, 58.65, 340.40°)
OKLaboklab(44.65% 0.1666 -0.0529)
OKLCHoklch(44.65% 0.175 342.4)
XYZxyz(14.4491, 7.5798, 15.4509)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F176E #178F38
analogous
#74178F #8F176E #8F1732
triadic
#8F176E #6E8F17 #176E8F
tetradic
#8F176E #8F7417 #178F38 #17328F
square
#8F176E #8F7417 #178F38 #17328F
split-complementary
#8F176E #328F17 #178F74
monochromatic
#26061D #5A0F45 #8F176E #C41F97 #E040B4

Accessibility & contrast

On white

8.35
#8F176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F176E
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F176E#FFFFFF#000000##FFFFFF
##8F176E1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#4C556B
Tritanopia (blue-blind)
#991942
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f176e;
/* rgb */ color: rgb(143, 23, 110);
/* oklch */ color: oklch(44.6% 0.175 342.4);
Tailwind
colors: {
  custom: {
    50: '#b46597',
    500: '#8f176e',
    950: '#000000',
  },
}
SCSS
$custom: #8f176e;
$custom-light: #b46597;
$custom-dark: #000000;
JSON
{
  "hex": "#8f176e",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 316.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4465,
    "c": 0.17479,
    "h": 342.4
  },
  "luminance": 0.07578
}

Semantic roles & 50–950 ramp

primary
#8F176E
secondary
#41C164
accent
#EF6B39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F176E

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

Preview Lab → · Contrast checker → · Palette generator →

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