#8D176C#8D176C

#8D176C is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.172 H 342.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8D176C
RGBrgb(141, 23, 108)
HSLhsl(317, 72%, 32%)
HSVhsv(317, 84%, 55%)
CMYKcmyk(0%, 83.7%, 23.4%, 44.7%)
CIE-LABlab(32.61, 54.51, -19.18)
CIE-LCHlch(32.61, 57.79, 340.62°)
OKLaboklab(44.2% 0.1645 -0.0515)
OKLCHoklch(44.2% 0.172 342.6)
XYZxyz(13.9982, 7.3597, 14.8678)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D176C #178D38
analogous
#73178D #8D176C #8D1731
triadic
#8D176C #6C8D17 #176C8D
tetradic
#8D176C #8D7317 #178D38 #17318D
square
#8D176C #8D7317 #178D38 #17318D
split-complementary
#8D176C #318D17 #178D73
monochromatic
#24061B #580E44 #8D176C #C22094 #E03FB3

Accessibility & contrast

On white

8.50
#8D176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8D176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D176C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D176C#FFFFFF#000000##FFFFFF
##8D176C1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25416E
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#961841
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d176c;
/* rgb */ color: rgb(141, 23, 108);
/* oklch */ color: oklch(44.2% 0.172 342.6);
Tailwind
colors: {
  custom: {
    50: '#b26496',
    500: '#8d176c',
    950: '#000000',
  },
}
SCSS
$custom: #8d176c;
$custom-light: #b26496;
$custom-dark: #000000;
JSON
{
  "hex": "#8d176c",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 316.78,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44203,
    "c": 0.17235,
    "h": 342.6
  },
  "luminance": 0.07358
}

Semantic roles & 50–950 ramp

primary
#8D176C
secondary
#40C064
accent
#EF6C39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D176C

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

Preview Lab → · Contrast checker → · Palette generator →

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