#8D1B66#8D1B66

#8D1B66 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.165 H 345.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8D1B66
RGBrgb(141, 27, 102)
HSLhsl(321, 68%, 33%)
HSVhsv(321, 81%, 55%)
CMYKcmyk(0%, 80.9%, 27.7%, 44.7%)
CIE-LABlab(32.72, 52.65, -15.17)
CIE-LCHlch(32.72, 54.79, 343.93°)
OKLaboklab(44.19% 0.1601 -0.0403)
OKLCHoklch(44.19% 0.165 345.9)
XYZxyz(13.7754, 7.4075, 13.2721)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B66 #1B8D42
analogous
#7B1B8D #8D1B66 #8D1B2D
triadic
#8D1B66 #668D1B #1B668D
tetradic
#8D1B66 #8D7B1B #1B8D42 #1B2D8D
square
#8D1B66 #8D7B1B #1B8D42 #1B2D8D
split-complementary
#8D1B66 #2D8D1B #1B8D7B
monochromatic
#26071C #5A1141 #8D1B66 #C0258B #DC47A9

Accessibility & contrast

On white

8.46
#8D1B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1B66
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B66#FFFFFF#000000##FFFFFF
##8D1B661.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4168
Deuteranopia (green-blind)
#4E5463
Tritanopia (blue-blind)
#97183F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1b66;
/* rgb */ color: rgb(141, 27, 102);
/* oklch */ color: oklch(44.2% 0.165 345.9);
Tailwind
colors: {
  custom: {
    50: '#b26591',
    500: '#8d1b66',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b66;
$custom-light: #b26591;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b66",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 320.526,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44191,
    "c": 0.16507,
    "h": 345.9
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#8D1B66
secondary
#46BD6F
accent
#EB783D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #8D1B66

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

Preview Lab → · Contrast checker → · Palette generator →

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