#8D1E7A#8D1E7A

#8D1E7A is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.175 H 336.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8D1E7A
RGBrgb(141, 30, 122)
HSLhsl(310, 65%, 34%)
HSVhsv(310, 79%, 55%)
CMYKcmyk(0%, 78.7%, 13.5%, 44.7%)
CIE-LABlab(33.98, 54.55, -25.91)
CIE-LCHlch(33.98, 60.39, 334.59°)
OKLaboklab(45.41% 0.1602 -0.0707)
OKLCHoklch(45.41% 0.175 336.2)
XYZxyz(14.9619, 7.9978, 19.1643)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E7A #1E8D31
analogous
#681E8D #8D1E7A #8D1E42
triadic
#8D1E7A #7A8D1E #1E7A8D
tetradic
#8D1E7A #8D681E #1E8D31 #1E428D
square
#8D1E7A #8D681E #1E8D31 #1E428D
split-complementary
#8D1E7A #428D1E #1E8D68
monochromatic
#280923 #5B134E #8D1E7A #BF29A6 #D94CC1

Accessibility & contrast

On white

8.08
#8D1E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8D1E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E7A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E7A#FFFFFF#000000##FFFFFF
##8D1E7A1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457C
Deuteranopia (green-blind)
#485677
Tritanopia (blue-blind)
#95274A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1e7a;
/* rgb */ color: rgb(141, 30, 122);
/* oklch */ color: oklch(45.4% 0.175 336.2);
Tailwind
colors: {
  custom: {
    50: '#b267a1',
    500: '#8d1e7a',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e7a;
$custom-light: #b267a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e7a",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 310.27,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45411,
    "c": 0.17512,
    "h": 336.2
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#8D1E7A
secondary
#4BBC5E
accent
#E85D40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8D1E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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