#8B1876#8B1876

#8B1876 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.177 H 337.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8B1876
RGBrgb(139, 24, 118)
HSLhsl(311, 71%, 32%)
HSVhsv(311, 83%, 55%)
CMYKcmyk(0%, 82.7%, 15.1%, 45.5%)
CIE-LABlab(32.81, 55.18, -25.25)
CIE-LCHlch(32.81, 60.68, 335.42°)
OKLaboklab(44.44% 0.163 -0.0688)
OKLCHoklch(44.44% 0.177 337.1)
XYZxyz(14.2444, 7.4516, 17.8242)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1876 #188B2D
analogous
#67188B #8B1876 #8B183C
triadic
#8B1876 #768B18 #18768B
tetradic
#8B1876 #8B6718 #188B2D #183C8B
square
#8B1876 #8B6718 #188B2D #183C8B
split-complementary
#8B1876 #3C8B18 #188B67
monochromatic
#23061D #570F4A #8B1876 #BF21A2 #DE3FC1

Accessibility & contrast

On white

8.43
#8B1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8B1876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1876
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1876#FFFFFF#000000##FFFFFF
##8B18761.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4278
Deuteranopia (green-blind)
#465373
Tritanopia (blue-blind)
#932147
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1876;
/* rgb */ color: rgb(139, 24, 118);
/* oklch */ color: oklch(44.4% 0.177 337.1);
Tailwind
colors: {
  custom: {
    50: '#b1659e',
    500: '#8b1876',
    950: '#000000',
  },
}
SCSS
$custom: #8b1876;
$custom-light: #b1659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1876",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 310.957,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44439,
    "c": 0.17688,
    "h": 337.1
  },
  "luminance": 0.0745
}

Semantic roles & 50–950 ramp

primary
#8B1876
secondary
#40BE57
accent
#ED5B3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1876

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

Preview Lab → · Contrast checker → · Palette generator →

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