#8B2E71#8B2E71

#8B2E71 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.1% C 0.148 H 340.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8B2E71
RGBrgb(139, 46, 113)
HSLhsl(317, 50%, 36%)
HSVhsv(317, 67%, 55%)
CMYKcmyk(0%, 66.9%, 18.7%, 45.5%)
CIE-LABlab(35.27, 46.80, -18.26)
CIE-LCHlch(35.27, 50.23, 338.68°)
OKLaboklab(46.14% 0.1393 -0.0491)
OKLCHoklch(46.14% 0.148 340.6)
XYZxyz(14.6055, 8.6366, 16.5174)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E71 #2E8B48
analogous
#772E8B #8B2E71 #8B2E43
triadic
#8B2E71 #718B2E #2E718B
tetradic
#8B2E71 #8B772E #2E8B48 #2E438B
square
#8B2E71 #8B772E #2E8B48 #2E438B
split-complementary
#8B2E71 #438B2E #2E8B77
monochromatic
#2F1026 #5D1F4C #8B2E71 #B93D96 #CD67B0

Accessibility & contrast

On white

7.70
#8B2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8B2E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2E71
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E71#FFFFFF#000000##FFFFFF
##8B2E711.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344973
Deuteranopia (green-blind)
#50586F
Tritanopia (blue-blind)
#93304B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2e71;
/* rgb */ color: rgb(139, 46, 113);
/* oklch */ color: oklch(46.1% 0.148 340.6);
Tailwind
colors: {
  custom: {
    50: '#b06e9a',
    500: '#8b2e71',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e71;
$custom-light: #b06e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e71",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 316.774,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46143,
    "c": 0.14768,
    "h": 340.6
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#8B2E71
secondary
#61B378
accent
#DA754E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8B2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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