#8B2B71#8B2B71

#8B2B71 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.152 H 340.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8B2B71
RGBrgb(139, 43, 113)
HSLhsl(316, 53%, 36%)
HSVhsv(316, 69%, 55%)
CMYKcmyk(0%, 69.1%, 18.7%, 45.5%)
CIE-LABlab(34.82, 48.05, -18.96)
CIE-LCHlch(34.82, 51.66, 338.47°)
OKLaboklab(45.81% 0.1431 -0.051)
OKLCHoklch(45.81% 0.152 340.4)
XYZxyz(14.4923, 8.4103, 16.4797)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B71 #2B8B45
analogous
#752B8B #8B2B71 #8B2B41
triadic
#8B2B71 #718B2B #2B718B
tetradic
#8B2B71 #8B752B #2B8B45 #2B418B
square
#8B2B71 #8B752B #2B8B45 #2B418B
split-complementary
#8B2B71 #418B2B #2B8B75
monochromatic
#2E0E25 #5C1D4B #8B2B71 #BA3997 #CE62B1

Accessibility & contrast

On white

7.83
#8B2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8B2B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B71
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B71#FFFFFF#000000##FFFFFF
##8B2B711.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#4F576F
Tritanopia (blue-blind)
#932D4A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2b71;
/* rgb */ color: rgb(139, 43, 113);
/* oklch */ color: oklch(45.8% 0.152 340.4);
Tailwind
colors: {
  custom: {
    50: '#b06c9a',
    500: '#8b2b71',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b71;
$custom-light: #b06c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b71",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 316.25,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45813,
    "c": 0.1519,
    "h": 340.4
  },
  "luminance": 0.08409
}

Semantic roles & 50–950 ramp

primary
#8B2B71
secondary
#5DB575
accent
#DC734C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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