#8D2E77#8D2E77

#8D2E77 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.153 H 338.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8D2E77
RGBrgb(141, 46, 119)
HSLhsl(314, 51%, 37%)
HSVhsv(314, 67%, 55%)
CMYKcmyk(0%, 67.4%, 15.6%, 44.7%)
CIE-LABlab(35.89, 48.29, -21.05)
CIE-LCHlch(35.89, 52.68, 336.44°)
OKLaboklab(46.75% 0.1425 -0.057)
OKLCHoklch(46.75% 0.153 338.2)
XYZxyz(15.2916, 8.9500, 18.3713)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E77 #2E8D44
analogous
#742E8D #8D2E77 #8D2E48
triadic
#8D2E77 #778D2E #2E778D
tetradic
#8D2E77 #8D742E #2E8D44 #2E488D
square
#8D2E77 #8D742E #2E8D44 #2E488D
split-complementary
#8D2E77 #488D2E #2E8D74
monochromatic
#311029 #5F1F50 #8D2E77 #BB3D9E #CE68B6

Accessibility & contrast

On white

7.53
#8D2E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8D2E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E77
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E77#FFFFFF#000000##FFFFFF
##8D2E771.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B79
Deuteranopia (green-blind)
#505A75
Tritanopia (blue-blind)
#95324E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2e77;
/* rgb */ color: rgb(141, 46, 119);
/* oklch */ color: oklch(46.7% 0.153 338.2);
Tailwind
colors: {
  custom: {
    50: '#b16e9e',
    500: '#8d2e77',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e77;
$custom-light: #b16e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e77",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 313.895,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46746,
    "c": 0.15348,
    "h": 338.2
  },
  "luminance": 0.08949
}

Semantic roles & 50–950 ramp

primary
#8D2E77
secondary
#62B575
accent
#DA6E4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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