#8B1477#8B1477

#8B1477 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.3% C 0.181 H 336.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8B1477
RGBrgb(139, 20, 119)
HSLhsl(310, 75%, 31%)
HSVhsv(310, 86%, 55%)
CMYKcmyk(0%, 85.6%, 14.4%, 45.5%)
CIE-LABlab(32.53, 56.30, -26.32)
CIE-LCHlch(32.53, 62.15, 334.94°)
OKLaboklab(44.25% 0.1659 -0.0718)
OKLCHoklch(44.25% 0.181 336.6)
XYZxyz(14.2277, 7.3226, 18.1133)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1477 #148B28
analogous
#63148B #8B1477 #8B143B
triadic
#8B1477 #778B14 #14778B
tetradic
#8B1477 #8B6314 #148B28 #143B8B
square
#8B1477 #8B6314 #148B28 #143B8B
split-complementary
#8B1477 #3B8B14 #148B63
monochromatic
#20051B #550C49 #8B1477 #C11CA5 #E237C5

Accessibility & contrast

On white

8.52
#8B1477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8B1477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1477
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1477#FFFFFF#000000##FFFFFF
##8B14771.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184179
Deuteranopia (green-blind)
#455374
Tritanopia (blue-blind)
#931F46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b1477;
/* rgb */ color: rgb(139, 20, 119);
/* oklch */ color: oklch(44.3% 0.181 336.6);
Tailwind
colors: {
  custom: {
    50: '#b1649e',
    500: '#8b1477',
    950: '#000000',
  },
}
SCSS
$custom: #8b1477;
$custom-light: #b1649e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1477",
  "rgb": {
    "r": 139,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 310.084,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44253,
    "c": 0.18082,
    "h": 336.6
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#8B1477
secondary
#3CBF52
accent
#F15636
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1477

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

Preview Lab → · Contrast checker → · Palette generator →

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