#8D2D72#8D2D72

#8D2D72 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.4% C 0.151 H 340.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8D2D72
RGBrgb(141, 45, 114)
HSLhsl(317, 52%, 36%)
HSVhsv(317, 68%, 55%)
CMYKcmyk(0%, 68.1%, 19.1%, 44.7%)
CIE-LABlab(35.51, 47.94, -18.50)
CIE-LCHlch(35.51, 51.38, 338.90°)
OKLaboklab(46.4% 0.1429 -0.0497)
OKLCHoklch(46.4% 0.151 340.8)
XYZxyz(14.9605, 8.7558, 16.8185)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D72 #2D8D48
analogous
#782D8D #8D2D72 #8D2D42
triadic
#8D2D72 #728D2D #2D728D
tetradic
#8D2D72 #8D782D #2D8D48 #2D428D
square
#8D2D72 #8D782D #2D8D48 #2D428D
split-complementary
#8D2D72 #428D2D #2D8D78
monochromatic
#300F27 #5F1E4C #8D2D72 #BB3C98 #CE66B1

Accessibility & contrast

On white

7.63
#8D2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8D2D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D72
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D72#FFFFFF#000000##FFFFFF
##8D2D721.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A74
Deuteranopia (green-blind)
#515970
Tritanopia (blue-blind)
#952F4B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2d72;
/* rgb */ color: rgb(141, 45, 114);
/* oklch */ color: oklch(46.4% 0.151 340.8);
Tailwind
colors: {
  custom: {
    50: '#b16e9a',
    500: '#8d2d72',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d72;
$custom-light: #b16e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d72",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 316.875,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46395,
    "c": 0.15128,
    "h": 340.8
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#8D2D72
secondary
#61B579
accent
#DB754D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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