#8D1566#8D1566

#8D1566 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.170 H 345.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#8D1566
RGBrgb(141, 21, 102)
HSLhsl(320, 74%, 32%)
HSVhsv(320, 85%, 55%)
CMYKcmyk(0%, 85.1%, 27.7%, 44.7%)
CIE-LABlab(32.17, 54.23, -16.01)
CIE-LCHlch(32.17, 56.54, 343.55°)
OKLaboklab(43.79% 0.165 -0.0426)
OKLCHoklch(43.79% 0.17 345.5)
XYZxyz(13.6516, 7.1599, 13.2309)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1566 #158D3C
analogous
#78158D #8D1566 #8D152A
triadic
#8D1566 #668D15 #15668D
tetradic
#8D1566 #8D7815 #158D3C #152A8D
square
#8D1566 #8D7815 #158D3C #152A8D
split-complementary
#8D1566 #2A8D15 #158D78
monochromatic
#220519 #580D3F #8D1566 #C21D8D #E23BAB

Accessibility & contrast

On white

8.64
#8D1566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8D1566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1566
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1566#FFFFFF#000000##FFFFFF
##8D15661.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283F68
Deuteranopia (green-blind)
#4D5363
Tritanopia (blue-blind)
#97113D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1566;
/* rgb */ color: rgb(141, 21, 102);
/* oklch */ color: oklch(43.8% 0.170 345.5);
Tailwind
colors: {
  custom: {
    50: '#b36391',
    500: '#8d1566',
    950: '#000000',
  },
}
SCSS
$custom: #8d1566;
$custom-light: #b36391;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1566",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 319.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43794,
    "c": 0.1704,
    "h": 345.5
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#8D1566
secondary
#3DC168
accent
#F17337
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060D
muted
#817A7D

Preview Lab

Preview with #8D1566

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

Preview Lab → · Contrast checker → · Palette generator →

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