#8B1B76#8B1B76

#8B1B76 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.6% C 0.174 H 337.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8B1B76
RGBrgb(139, 27, 118)
HSLhsl(311, 67%, 33%)
HSVhsv(311, 81%, 55%)
CMYKcmyk(0%, 80.6%, 15.1%, 45.5%)
CIE-LABlab(33.10, 54.37, -24.80)
CIE-LCHlch(33.10, 59.76, 335.48°)
OKLaboklab(44.64% 0.1605 -0.0675)
OKLCHoklch(44.64% 0.174 337.2)
XYZxyz(14.3097, 7.5822, 17.8459)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B76 #1B8B30
analogous
#681B8B #8B1B76 #8B1B3E
triadic
#8B1B76 #768B1B #1B768B
tetradic
#8B1B76 #8B681B #1B8B30 #1B3E8B
square
#8B1B76 #8B681B #1B8B30 #1B3E8B
split-complementary
#8B1B76 #3E8B1B #1B8B68
monochromatic
#25071F #58114A #8B1B76 #BE25A2 #DB45BF

Accessibility & contrast

On white

8.35
#8B1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8B1B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B76
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B76#FFFFFF#000000##FFFFFF
##8B1B761.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4378
Deuteranopia (green-blind)
#475473
Tritanopia (blue-blind)
#932347
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1b76;
/* rgb */ color: rgb(139, 27, 118);
/* oklch */ color: oklch(44.6% 0.174 337.2);
Tailwind
colors: {
  custom: {
    50: '#b1669e',
    500: '#8b1b76',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b76;
$custom-light: #b1669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b76",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 311.25,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44642,
    "c": 0.17414,
    "h": 337.2
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#8B1B76
secondary
#45BC5C
accent
#EA5E3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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