#8B2179#8B2179

#8B2179 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.170 H 335.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8B2179
RGBrgb(139, 33, 121)
HSLhsl(310, 62%, 34%)
HSVhsv(310, 76%, 55%)
CMYKcmyk(0%, 76.3%, 12.9%, 45.5%)
CIE-LABlab(33.90, 52.97, -25.44)
CIE-LCHlch(33.90, 58.76, 334.35°)
OKLaboklab(45.27% 0.1553 -0.0694)
OKLCHoklch(45.27% 0.17 335.9)
XYZxyz(14.6427, 7.9585, 18.8504)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2179 #218B33
analogous
#68218B #8B2179 #8B2144
triadic
#8B2179 #798B21 #21798B
tetradic
#8B2179 #8B6821 #218B33 #21448B
square
#8B2179 #8B6821 #218B33 #21448B
split-complementary
#8B2179 #448B21 #218B68
monochromatic
#280A23 #5A154E #8B2179 #BC2DA4 #D651BF

Accessibility & contrast

On white

8.10
#8B2179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8B2179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2179
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2179#FFFFFF#000000##FFFFFF
##8B21791.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467B
Deuteranopia (green-blind)
#485577
Tritanopia (blue-blind)
#92294B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b2179;
/* rgb */ color: rgb(139, 33, 121);
/* oklch */ color: oklch(45.3% 0.170 335.9);
Tailwind
colors: {
  custom: {
    50: '#b068a0',
    500: '#8b2179',
    950: '#000000',
  },
}
SCSS
$custom: #8b2179;
$custom-light: #b068a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2179",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 310.189,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.17006,
    "h": 335.9
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#8B2179
secondary
#4FB961
accent
#E55F43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2179

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

Preview Lab → · Contrast checker → · Palette generator →

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