#8D2A71#8D2A71

#8D2A71 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.155 H 341.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8D2A71
RGBrgb(141, 42, 113)
HSLhsl(317, 54%, 36%)
HSVhsv(317, 70%, 55%)
CMYKcmyk(0%, 70.2%, 19.9%, 44.7%)
CIE-LABlab(35.03, 49.01, -18.61)
CIE-LCHlch(35.03, 52.42, 339.20°)
OKLaboklab(46.03% 0.1464 -0.05)
OKLCHoklch(46.03% 0.155 341.1)
XYZxyz(14.7935, 8.5123, 16.4835)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A71 #2A8D46
analogous
#772A8D #8D2A71 #8D2A3F
triadic
#8D2A71 #718D2A #2A718D
tetradic
#8D2A71 #8D772A #2A8D46 #2A3F8D
square
#8D2A71 #8D772A #2A8D46 #2A3F8D
split-complementary
#8D2A71 #3F8D2A #2A8D77
monochromatic
#2F0E25 #5E1C4B #8D2A71 #BC3897 #D061B1

Accessibility & contrast

On white

7.77
#8D2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8D2A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A71
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A71#FFFFFF#000000##FFFFFF
##8D2A711.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#50586F
Tritanopia (blue-blind)
#962C49
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2a71;
/* rgb */ color: rgb(141, 42, 113);
/* oklch */ color: oklch(46.0% 0.155 341.1);
Tailwind
colors: {
  custom: {
    50: '#b26c9a',
    500: '#8d2a71',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a71;
$custom-light: #b26c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a71",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 316.97,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46029,
    "c": 0.15468,
    "h": 341.1
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#8D2A71
secondary
#5DB676
accent
#DD744A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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