#8B2172#8B2172

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

Color values

HEX#8B2172
RGBrgb(139, 33, 114)
HSLhsl(314, 62%, 34%)
HSVhsv(314, 76%, 55%)
CMYKcmyk(0%, 76.3%, 18%, 45.5%)
CIE-LABlab(33.55, 51.92, -21.57)
CIE-LCHlch(33.55, 56.22, 337.44°)
OKLaboklab(44.9% 0.1545 -0.0583)
OKLCHoklch(44.9% 0.165 339.3)
XYZxyz(14.2289, 7.7930, 16.6712)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2172 #218B3A
analogous
#6F218B #8B2172 #8B213D
triadic
#8B2172 #728B21 #21728B
tetradic
#8B2172 #8B6F21 #218B3A #213D8B
square
#8B2172 #8B6F21 #218B3A #213D8B
split-complementary
#8B2172 #3D8B21 #218B6F
monochromatic
#280A21 #5A1549 #8B2172 #BC2D9B #D651B6

Accessibility & contrast

On white

8.21
#8B2172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B2172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2172
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2172#FFFFFF#000000##FFFFFF
##8B21721.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#4B5570
Tritanopia (blue-blind)
#932547
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b2172;
/* rgb */ color: rgb(139, 33, 114);
/* oklch */ color: oklch(44.9% 0.165 339.3);
Tailwind
colors: {
  custom: {
    50: '#b0689a',
    500: '#8b2172',
    950: '#000000',
  },
}
SCSS
$custom: #8b2172;
$custom-light: #b0689a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2172",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 314.151,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44902,
    "c": 0.16511,
    "h": 339.3
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#8B2172
secondary
#4FB968
accent
#E56943
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2172

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

Preview Lab → · Contrast checker → · Palette generator →

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