#8D2C77#8D2C77

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

Color values

HEX#8D2C77
RGBrgb(141, 44, 119)
HSLhsl(314, 52%, 36%)
HSVhsv(314, 69%, 55%)
CMYKcmyk(0%, 68.8%, 15.6%, 44.7%)
CIE-LABlab(35.59, 49.11, -21.51)
CIE-LCHlch(35.59, 53.62, 336.34°)
OKLaboklab(46.53% 0.145 -0.0583)
OKLCHoklch(46.53% 0.156 338.1)
XYZxyz(15.2152, 8.7974, 18.3459)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C77 #2C8D42
analogous
#732C8D #8D2C77 #8D2C47
triadic
#8D2C77 #778D2C #2C778D
tetradic
#8D2C77 #8D732C #2C8D42 #2C478D
square
#8D2C77 #8D732C #2C8D42 #2C478D
split-complementary
#8D2C77 #478D2C #2C8D73
monochromatic
#300F28 #5E1D50 #8D2C77 #BC3B9E #CF65B7

Accessibility & contrast

On white

7.61
#8D2C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2C77
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C77#FFFFFF#000000##FFFFFF
##8D2C771.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2c77;
/* rgb */ color: rgb(141, 44, 119);
/* oklch */ color: oklch(46.5% 0.156 338.1);
Tailwind
colors: {
  custom: {
    50: '#b16d9e',
    500: '#8d2c77',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c77;
$custom-light: #b16d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c77",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 313.608,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4653,
    "c": 0.15625,
    "h": 338.1
  },
  "luminance": 0.08796
}

Semantic roles & 50–950 ramp

primary
#8D2C77
secondary
#60B573
accent
#DC6D4C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2C77

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

Preview Lab → · Contrast checker → · Palette generator →

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