#8D2C76#8D2C76

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

Color values

HEX#8D2C76
RGBrgb(141, 44, 118)
HSLhsl(314, 52%, 36%)
HSVhsv(314, 69%, 55%)
CMYKcmyk(0%, 68.8%, 16.3%, 44.7%)
CIE-LABlab(35.54, 48.96, -20.96)
CIE-LCHlch(35.54, 53.26, 336.82°)
OKLaboklab(46.48% 0.1448 -0.0567)
OKLCHoklch(46.48% 0.156 338.6)
XYZxyz(15.1555, 8.7735, 18.0313)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C76 #2C8D43
analogous
#742C8D #8D2C76 #8D2C46
triadic
#8D2C76 #768D2C #2C768D
tetradic
#8D2C76 #8D742C #2C8D43 #2C468D
square
#8D2C76 #8D742C #2C8D43 #2C468D
split-complementary
#8D2C76 #468D2C #2C8D74
monochromatic
#300F28 #5E1D4F #8D2C76 #BC3B9D #CF65B6

Accessibility & contrast

On white

7.62
#8D2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2C76
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C76#FFFFFF#000000##FFFFFF
##8D2C761.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A78
Deuteranopia (green-blind)
#4F5974
Tritanopia (blue-blind)
#95304D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2c76;
/* rgb */ color: rgb(141, 44, 118);
/* oklch */ color: oklch(46.5% 0.156 338.6);
Tailwind
colors: {
  custom: {
    50: '#b16d9d',
    500: '#8d2c76',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c76;
$custom-light: #b16d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c76",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 314.227,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4648,
    "c": 0.15552,
    "h": 338.6
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#8D2C76
secondary
#60B574
accent
#DC6E4C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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