#8D1B6A#8D1B6A

#8D1B6A is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.167 H 343.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8D1B6A
RGBrgb(141, 27, 106)
HSLhsl(318, 68%, 33%)
HSVhsv(318, 81%, 55%)
CMYKcmyk(0%, 80.9%, 24.8%, 44.7%)
CIE-LABlab(32.89, 53.17, -17.46)
CIE-LCHlch(32.89, 55.96, 341.82°)
OKLaboklab(44.38% 0.1608 -0.0467)
OKLCHoklch(44.38% 0.167 343.8)
XYZxyz(13.9785, 7.4887, 14.3422)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B6A #1B8D3E
analogous
#771B8D #8D1B6A #8D1B31
triadic
#8D1B6A #6A8D1B #1B6A8D
tetradic
#8D1B6A #8D771B #1B8D3E #1B318D
square
#8D1B6A #8D771B #1B8D3E #1B318D
split-complementary
#8D1B6A #318D1B #1B8D77
monochromatic
#26071D #5A1143 #8D1B6A #C02591 #DC47AE

Accessibility & contrast

On white

8.41
#8D1B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8D1B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B6A
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B6A#FFFFFF#000000##FFFFFF
##8D1B6A1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29416C
Deuteranopia (green-blind)
#4D5467
Tritanopia (blue-blind)
#971A41
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1b6a;
/* rgb */ color: rgb(141, 27, 106);
/* oklch */ color: oklch(44.4% 0.167 343.8);
Tailwind
colors: {
  custom: {
    50: '#b26694',
    500: '#8d1b6a',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b6a;
$custom-light: #b26694;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b6a",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 318.421,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44377,
    "c": 0.16747,
    "h": 343.8
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#8D1B6A
secondary
#46BD6B
accent
#EB723D
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D1B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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