#8D176E#8D176E

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

Color values

HEX#8D176E
RGBrgb(141, 23, 110)
HSLhsl(316, 72%, 32%)
HSVhsv(316, 84%, 55%)
CMYKcmyk(0%, 83.7%, 22%, 44.7%)
CIE-LABlab(32.71, 54.78, -20.31)
CIE-LCHlch(32.71, 58.42, 339.66°)
OKLaboklab(44.3% 0.1648 -0.0547)
OKLCHoklch(44.3% 0.174 341.6)
XYZxyz(14.1059, 7.4028, 15.4349)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D176E #178D36
analogous
#71178D #8D176E #8D1733
triadic
#8D176E #6E8D17 #176E8D
tetradic
#8D176E #8D7117 #178D36 #17338D
square
#8D176E #8D7117 #178D36 #17338D
split-complementary
#8D176E #338D17 #178D71
monochromatic
#24061C #580E45 #8D176E #C22097 #E03FB5

Accessibility & contrast

On white

8.47
#8D176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D176E
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D176E#FFFFFF#000000##FFFFFF
##8D176E1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244170
Deuteranopia (green-blind)
#4B546B
Tritanopia (blue-blind)
#961A42
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d176e;
/* rgb */ color: rgb(141, 23, 110);
/* oklch */ color: oklch(44.3% 0.174 341.6);
Tailwind
colors: {
  custom: {
    50: '#b26497',
    500: '#8d176e',
    950: '#000000',
  },
}
SCSS
$custom: #8d176e;
$custom-light: #b26497;
$custom-dark: #000000;
JSON
{
  "hex": "#8d176e",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 315.763,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44302,
    "c": 0.1736,
    "h": 341.6
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#8D176E
secondary
#40C062
accent
#EF6939
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D176E

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

Preview Lab → · Contrast checker → · Palette generator →

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