#8D1D7A#8D1D7A

#8D1D7A is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.3% C 0.176 H 336.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8D1D7A
RGBrgb(141, 29, 122)
HSLhsl(310, 66%, 33%)
HSVhsv(310, 79%, 55%)
CMYKcmyk(0%, 79.4%, 13.5%, 44.7%)
CIE-LABlab(33.87, 54.85, -26.08)
CIE-LCHlch(33.87, 60.73, 334.57°)
OKLaboklab(45.34% 0.1611 -0.0712)
OKLCHoklch(45.34% 0.176 336.2)
XYZxyz(14.9370, 7.9480, 19.1560)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D7A #1D8D30
analogous
#681D8D #8D1D7A #8D1D42
triadic
#8D1D7A #7A8D1D #1D7A8D
tetradic
#8D1D7A #8D681D #1D8D30 #1D428D
square
#8D1D7A #8D681D #1D8D30 #1D428D
split-complementary
#8D1D7A #428D1D #1D8D68
monochromatic
#270822 #5A134E #8D1D7A #C027A6 #DA4BC2

Accessibility & contrast

On white

8.11
#8D1D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8D1D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D7A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D7A#FFFFFF#000000##FFFFFF
##8D1D7A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#485677
Tritanopia (blue-blind)
#95264A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1d7a;
/* rgb */ color: rgb(141, 29, 122);
/* oklch */ color: oklch(45.3% 0.176 336.2);
Tailwind
colors: {
  custom: {
    50: '#b267a1',
    500: '#8d1d7a',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d7a;
$custom-light: #b267a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d7a",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 310.179,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45336,
    "c": 0.17613,
    "h": 336.2
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#8D1D7A
secondary
#4ABC5D
accent
#E95C3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8D1D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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