#8D176B#8D176B

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

Color values

HEX#8D176B
RGBrgb(141, 23, 107)
HSLhsl(317, 72%, 32%)
HSVhsv(317, 84%, 55%)
CMYKcmyk(0%, 83.7%, 24.1%, 44.7%)
CIE-LABlab(32.57, 54.38, -18.61)
CIE-LCHlch(32.57, 57.48, 341.11°)
OKLaboklab(44.15% 0.1643 -0.0499)
OKLCHoklch(44.15% 0.172 343.1)
XYZxyz(13.9453, 7.3386, 14.5892)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D176B #178D39
analogous
#74178D #8D176B #8D1730
triadic
#8D176B #6B8D17 #176B8D
tetradic
#8D176B #8D7417 #178D39 #17308D
square
#8D176B #8D7417 #178D39 #17308D
split-complementary
#8D176B #308D17 #178D74
monochromatic
#24061B #580E43 #8D176B #C22093 #E03FB1

Accessibility & contrast

On white

8.51
#8D176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D176B
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D176B#FFFFFF#000000##FFFFFF
##8D176B1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26406D
Deuteranopia (green-blind)
#4C5368
Tritanopia (blue-blind)
#971740
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d176b;
/* rgb */ color: rgb(141, 23, 107);
/* oklch */ color: oklch(44.2% 0.172 343.1);
Tailwind
colors: {
  custom: {
    50: '#b26495',
    500: '#8d176b',
    950: '#000000',
  },
}
SCSS
$custom: #8d176b;
$custom-light: #b26495;
$custom-dark: #000000;
JSON
{
  "hex": "#8d176b",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 317.288,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44154,
    "c": 0.17173,
    "h": 343.1
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#8D176B
secondary
#40C065
accent
#EF6D39
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D176B

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

Preview Lab → · Contrast checker → · Palette generator →

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