#8D176F#8D176F

#8D176F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.174 H 341.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8D176F
RGBrgb(141, 23, 111)
HSLhsl(315, 72%, 32%)
HSVhsv(315, 84%, 55%)
CMYKcmyk(0%, 83.7%, 21.3%, 44.7%)
CIE-LABlab(32.75, 54.91, -20.87)
CIE-LCHlch(32.75, 58.75, 339.19°)
OKLaboklab(44.35% 0.1649 -0.0563)
OKLCHoklch(44.35% 0.174 341.2)
XYZxyz(14.1606, 7.4247, 15.7232)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D176F #178D35
analogous
#70178D #8D176F #8D1734
triadic
#8D176F #6F8D17 #176F8D
tetradic
#8D176F #8D7017 #178D35 #17348D
square
#8D176F #8D7017 #178D35 #17348D
split-complementary
#8D176F #348D17 #178D70
monochromatic
#24061C #580E46 #8D176F #C22098 #E03FB7

Accessibility & contrast

On white

8.45
#8D176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8D176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D176F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D176F#FFFFFF#000000##FFFFFF
##8D176F1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234171
Deuteranopia (green-blind)
#4A546C
Tritanopia (blue-blind)
#961A43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d176f;
/* rgb */ color: rgb(141, 23, 111);
/* oklch */ color: oklch(44.4% 0.174 341.2);
Tailwind
colors: {
  custom: {
    50: '#b26498',
    500: '#8d176f',
    950: '#000000',
  },
}
SCSS
$custom: #8d176f;
$custom-light: #b26498;
$custom-dark: #000000;
JSON
{
  "hex": "#8d176f",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 315.254,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44352,
    "c": 0.17423,
    "h": 341.2
  },
  "luminance": 0.07423
}

Semantic roles & 50–950 ramp

primary
#8D176F
secondary
#40C060
accent
#EF6739
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D176F

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

Preview Lab → · Contrast checker → · Palette generator →

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