#8B2176#8B2176

#8B2176 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.168 H 337.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8B2176
RGBrgb(139, 33, 118)
HSLhsl(312, 62%, 34%)
HSVhsv(312, 76%, 55%)
CMYKcmyk(0%, 76.3%, 15.1%, 45.5%)
CIE-LABlab(33.74, 52.51, -23.79)
CIE-LCHlch(33.74, 57.65, 335.63°)
OKLaboklab(45.11% 0.155 -0.0647)
OKLCHoklch(45.11% 0.168 337.3)
XYZxyz(14.4616, 7.8860, 17.8966)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2176 #218B36
analogous
#6B218B #8B2176 #8B2141
triadic
#8B2176 #768B21 #21768B
tetradic
#8B2176 #8B6B21 #218B36 #21418B
square
#8B2176 #8B6B21 #218B36 #21418B
split-complementary
#8B2176 #418B21 #218B6B
monochromatic
#280A22 #5A154C #8B2176 #BC2DA0 #D651BB

Accessibility & contrast

On white

8.15
#8B2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8B2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2176
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2176#FFFFFF#000000##FFFFFF
##8B21761.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254578
Deuteranopia (green-blind)
#495574
Tritanopia (blue-blind)
#932749
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b2176;
/* rgb */ color: rgb(139, 33, 118);
/* oklch */ color: oklch(45.1% 0.168 337.3);
Tailwind
colors: {
  custom: {
    50: '#b0689e',
    500: '#8b2176',
    950: '#000000',
  },
}
SCSS
$custom: #8b2176;
$custom-light: #b0689e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2176",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 311.887,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45108,
    "c": 0.16792,
    "h": 337.3
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#8B2176
secondary
#4FB964
accent
#E56343
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2176

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

Preview Lab → · Contrast checker → · Palette generator →

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