#8D176A#8D176A

#8D176A is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.171 H 343.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#8D176A
RGBrgb(141, 23, 106)
HSLhsl(318, 72%, 32%)
HSVhsv(318, 84%, 55%)
CMYKcmyk(0%, 83.7%, 24.8%, 44.7%)
CIE-LABlab(32.52, 54.25, -18.04)
CIE-LCHlch(32.52, 57.17, 341.61°)
OKLaboklab(44.11% 0.1642 -0.0483)
OKLCHoklch(44.11% 0.171 343.6)
XYZxyz(13.8930, 7.3177, 14.3137)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D176A #178D3A
analogous
#75178D #8D176A #8D172F
triadic
#8D176A #6A8D17 #176A8D
tetradic
#8D176A #8D7517 #178D3A #172F8D
square
#8D176A #8D7517 #178D3A #172F8D
split-complementary
#8D176A #2F8D17 #178D75
monochromatic
#24061B #580E42 #8D176A #C22092 #E03FB0

Accessibility & contrast

On white

8.53
#8D176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8D176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D176A
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D176A#FFFFFF#000000##FFFFFF
##8D176A1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27406C
Deuteranopia (green-blind)
#4C5367
Tritanopia (blue-blind)
#971740
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d176a;
/* rgb */ color: rgb(141, 23, 106);
/* oklch */ color: oklch(44.1% 0.171 343.6);
Tailwind
colors: {
  custom: {
    50: '#b26494',
    500: '#8d176a',
    950: '#000000',
  },
}
SCSS
$custom: #8d176a;
$custom-light: #b26494;
$custom-dark: #000000;
JSON
{
  "hex": "#8d176a",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 317.797,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44106,
    "c": 0.17111,
    "h": 343.6
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#8D176A
secondary
#40C066
accent
#EF6F39
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D176A

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

Preview Lab → · Contrast checker → · Palette generator →

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