#8B2D71#8B2D71

#8B2D71 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.0% C 0.149 H 340.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8B2D71
RGBrgb(139, 45, 113)
HSLhsl(317, 51%, 36%)
HSVhsv(317, 68%, 55%)
CMYKcmyk(0%, 67.6%, 18.7%, 45.5%)
CIE-LABlab(35.12, 47.22, -18.50)
CIE-LCHlch(35.12, 50.72, 338.61°)
OKLaboklab(46.03% 0.1406 -0.0498)
OKLCHoklch(46.03% 0.149 340.5)
XYZxyz(14.5668, 8.5593, 16.5045)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D71 #2D8B47
analogous
#762D8B #8B2D71 #8B2D42
triadic
#8B2D71 #718B2D #2D718B
tetradic
#8B2D71 #8B762D #2D8B47 #2D428B
square
#8B2D71 #8B762D #2D8B47 #2D428B
split-complementary
#8B2D71 #428B2D #2D8B76
monochromatic
#2F0F26 #5D1E4B #8B2D71 #B93C97 #CD65B0

Accessibility & contrast

On white

7.74
#8B2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8B2D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D71
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D71#FFFFFF#000000##FFFFFF
##8B2D711.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#50586F
Tritanopia (blue-blind)
#932F4B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2d71;
/* rgb */ color: rgb(139, 45, 113);
/* oklch */ color: oklch(46.0% 0.149 340.5);
Tailwind
colors: {
  custom: {
    50: '#b06d9a',
    500: '#8b2d71',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d71;
$custom-light: #b06d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d71",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 316.596,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46031,
    "c": 0.1491,
    "h": 340.5
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#8B2D71
secondary
#60B477
accent
#DB744D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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