#8D166B#8D166B

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

Color values

HEX#8D166B
RGBrgb(141, 22, 107)
HSLhsl(317, 73%, 32%)
HSVhsv(317, 84%, 55%)
CMYKcmyk(0%, 84.4%, 24.1%, 44.7%)
CIE-LABlab(32.48, 54.63, -18.74)
CIE-LCHlch(32.48, 57.75, 341.06°)
OKLaboklab(44.09% 0.1651 -0.0503)
OKLCHoklch(44.09% 0.173 343.1)
XYZxyz(13.9258, 7.2996, 14.5827)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D166B #168D38
analogous
#74168D #8D166B #8D1630
triadic
#8D166B #6B8D16 #166B8D
tetradic
#8D166B #8D7416 #168D38 #16308D
square
#8D166B #8D7416 #168D38 #16308D
split-complementary
#8D166B #308D16 #168D74
monochromatic
#23051B #580E43 #8D166B #C21E93 #E13DB2

Accessibility & contrast

On white

8.54
#8D166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D166B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D166B#FFFFFF#000000##FFFFFF
##8D166B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25406D
Deuteranopia (green-blind)
#4B5368
Tritanopia (blue-blind)
#971640
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d166b;
/* rgb */ color: rgb(141, 22, 107);
/* oklch */ color: oklch(44.1% 0.173 343.1);
Tailwind
colors: {
  custom: {
    50: '#b26495',
    500: '#8d166b',
    950: '#000000',
  },
}
SCSS
$custom: #8d166b;
$custom-light: #b26495;
$custom-dark: #000000;
JSON
{
  "hex": "#8d166b",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 317.143,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44092,
    "c": 0.17257,
    "h": 343.1
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#8D166B
secondary
#3EC163
accent
#F06D38
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D166B

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

Preview Lab → · Contrast checker → · Palette generator →

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