#8D2C71#8D2C71

#8D2C71 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.152 H 341.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8D2C71
RGBrgb(141, 44, 113)
HSLhsl(317, 52%, 36%)
HSVhsv(317, 69%, 55%)
CMYKcmyk(0%, 68.8%, 19.9%, 44.7%)
CIE-LABlab(35.32, 48.20, -18.17)
CIE-LCHlch(35.32, 51.51, 339.35°)
OKLaboklab(46.24% 0.1439 -0.0488)
OKLCHoklch(46.24% 0.152 341.3)
XYZxyz(14.8662, 8.6577, 16.5078)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C71 #2C8D48
analogous
#792C8D #8D2C71 #8D2C41
triadic
#8D2C71 #718D2C #2C718D
tetradic
#8D2C71 #8D792C #2C8D48 #2C418D
square
#8D2C71 #8D792C #2C8D48 #2C418D
split-complementary
#8D2C71 #418D2C #2C8D79
monochromatic
#300F26 #5E1D4C #8D2C71 #BC3B96 #CF65B0

Accessibility & contrast

On white

7.69
#8D2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8D2C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C71
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C71#FFFFFF#000000##FFFFFF
##8D2C711.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#962E4A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2c71;
/* rgb */ color: rgb(141, 44, 113);
/* oklch */ color: oklch(46.2% 0.152 341.3);
Tailwind
colors: {
  custom: {
    50: '#b16d9a',
    500: '#8d2c71',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c71;
$custom-light: #b16d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c71",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 317.32,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4624,
    "c": 0.15197,
    "h": 341.3
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#8D2C71
secondary
#60B578
accent
#DC754C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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