#8B1877#8B1877

#8B1877 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.178 H 336.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8B1877
RGBrgb(139, 24, 119)
HSLhsl(310, 71%, 32%)
HSVhsv(310, 83%, 55%)
CMYKcmyk(0%, 82.7%, 14.4%, 45.5%)
CIE-LABlab(32.87, 55.33, -25.80)
CIE-LCHlch(32.87, 61.05, 335.00°)
OKLaboklab(44.49% 0.163 -0.0704)
OKLCHoklch(44.49% 0.178 336.7)
XYZxyz(14.3041, 7.4755, 18.1388)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1877 #188B2C
analogous
#66188B #8B1877 #8B183E
triadic
#8B1877 #778B18 #18778B
tetradic
#8B1877 #8B6618 #188B2C #183E8B
square
#8B1877 #8B6618 #188B2C #183E8B
split-complementary
#8B1877 #3E8B18 #188B66
monochromatic
#23061E #570F4A #8B1877 #BF21A4 #DE3FC2

Accessibility & contrast

On white

8.42
#8B1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1877
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1877#FFFFFF#000000##FFFFFF
##8B18771.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1877;
/* rgb */ color: rgb(139, 24, 119);
/* oklch */ color: oklch(44.5% 0.178 336.7);
Tailwind
colors: {
  custom: {
    50: '#b1659e',
    500: '#8b1877',
    950: '#000000',
  },
}
SCSS
$custom: #8b1877;
$custom-light: #b1659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1877",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 310.435,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44493,
    "c": 0.17756,
    "h": 336.7
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#8B1877
secondary
#40BE56
accent
#ED5A3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1877

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

Preview Lab → · Contrast checker → · Palette generator →

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