#8D2E71#8D2E71

#8D2E71 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.149 H 341.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8D2E71
RGBrgb(141, 46, 113)
HSLhsl(318, 51%, 37%)
HSVhsv(318, 67%, 55%)
CMYKcmyk(0%, 67.4%, 19.9%, 44.7%)
CIE-LABlab(35.62, 47.37, -17.71)
CIE-LCHlch(35.62, 50.57, 339.51°)
OKLaboklab(46.46% 0.1414 -0.0475)
OKLCHoklch(46.46% 0.149 341.4)
XYZxyz(14.9425, 8.8104, 16.5332)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E71 #2E8D4A
analogous
#7A2E8D #8D2E71 #8D2E42
triadic
#8D2E71 #718D2E #2E718D
tetradic
#8D2E71 #8D7A2E #2E8D4A #2E428D
square
#8D2E71 #8D7A2E #2E8D4A #2E428D
split-complementary
#8D2E71 #428D2E #2E8D7A
monochromatic
#311027 #5F1F4C #8D2E71 #BB3D96 #CE68B0

Accessibility & contrast

On white

7.60
#8D2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8D2E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E71
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E71#FFFFFF#000000##FFFFFF
##8D2E711.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#52596F
Tritanopia (blue-blind)
#962F4B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2e71;
/* rgb */ color: rgb(141, 46, 113);
/* oklch */ color: oklch(46.5% 0.149 341.4);
Tailwind
colors: {
  custom: {
    50: '#b16e9a',
    500: '#8d2e71',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e71;
$custom-light: #b16e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e71",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 317.684,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46459,
    "c": 0.14917,
    "h": 341.4
  },
  "luminance": 0.08809
}

Semantic roles & 50–950 ramp

primary
#8D2E71
secondary
#62B57B
accent
#DA774E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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