#8D166C#8D166C

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

Color values

HEX#8D166C
RGBrgb(141, 22, 108)
HSLhsl(317, 73%, 32%)
HSVhsv(317, 84%, 55%)
CMYKcmyk(0%, 84.4%, 23.4%, 44.7%)
CIE-LABlab(32.53, 54.76, -19.31)
CIE-LCHlch(32.53, 58.06, 340.58°)
OKLaboklab(44.14% 0.1652 -0.0518)
OKLCHoklch(44.14% 0.173 342.6)
XYZxyz(13.9787, 7.3208, 14.8613)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D166C #168D37
analogous
#73168D #8D166C #8D1630
triadic
#8D166C #6C8D16 #166C8D
tetradic
#8D166C #8D7316 #168D37 #16308D
square
#8D166C #8D7316 #168D37 #16308D
split-complementary
#8D166C #308D16 #168D73
monochromatic
#23051B #580E43 #8D166C #C21E95 #E13DB3

Accessibility & contrast

On white

8.52
#8D166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D166C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D166C#FFFFFF#000000##FFFFFF
##8D166C1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25406E
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#961741
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d166c;
/* rgb */ color: rgb(141, 22, 108);
/* oklch */ color: oklch(44.1% 0.173 342.6);
Tailwind
colors: {
  custom: {
    50: '#b26496',
    500: '#8d166c',
    950: '#000000',
  },
}
SCSS
$custom: #8d166c;
$custom-light: #b26496;
$custom-dark: #000000;
JSON
{
  "hex": "#8d166c",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 316.639,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44141,
    "c": 0.17318,
    "h": 342.6
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#8D166C
secondary
#3EC162
accent
#F06B38
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D166C

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

Preview Lab → · Contrast checker → · Palette generator →

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