#8B2171#8B2171

#8B2171 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.164 H 339.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8B2171
RGBrgb(139, 33, 113)
HSLhsl(315, 62%, 34%)
HSVhsv(315, 76%, 55%)
CMYKcmyk(0%, 76.3%, 18.7%, 45.5%)
CIE-LABlab(33.50, 51.78, -21.01)
CIE-LCHlch(33.50, 55.88, 337.91°)
OKLaboklab(44.85% 0.1543 -0.0568)
OKLCHoklch(44.85% 0.164 339.8)
XYZxyz(14.1723, 7.7703, 16.3730)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2171 #218B3B
analogous
#70218B #8B2171 #8B213C
triadic
#8B2171 #718B21 #21718B
tetradic
#8B2171 #8B7021 #218B3B #213C8B
square
#8B2171 #8B7021 #218B3B #213C8B
split-complementary
#8B2171 #3C8B21 #218B70
monochromatic
#280A21 #5A1549 #8B2171 #BC2D99 #D651B5

Accessibility & contrast

On white

8.22
#8B2171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8B2171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2171
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2171#FFFFFF#000000##FFFFFF
##8B21711.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#932546
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b2171;
/* rgb */ color: rgb(139, 33, 113);
/* oklch */ color: oklch(44.9% 0.164 339.8);
Tailwind
colors: {
  custom: {
    50: '#b0689a',
    500: '#8b2171',
    950: '#000000',
  },
}
SCSS
$custom: #8b2171;
$custom-light: #b0689a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2171",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 314.717,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44852,
    "c": 0.16443,
    "h": 339.8
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#8B2171
secondary
#4FB969
accent
#E56B43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2171

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

Preview Lab → · Contrast checker → · Palette generator →

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