#8B1E76#8B1E76

#8B1E76 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.171 H 337.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8B1E76
RGBrgb(139, 30, 118)
HSLhsl(312, 64%, 33%)
HSVhsv(312, 78%, 55%)
CMYKcmyk(0%, 78.4%, 15.1%, 45.5%)
CIE-LABlab(33.41, 53.48, -24.32)
CIE-LCHlch(33.41, 58.74, 335.55°)
OKLaboklab(44.87% 0.1578 -0.0662)
OKLCHoklch(44.87% 0.171 337.3)
XYZxyz(14.3820, 7.7269, 17.8700)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E76 #1E8B33
analogous
#691E8B #8B1E76 #8B1E3F
triadic
#8B1E76 #768B1E #1E768B
tetradic
#8B1E76 #8B691E #1E8B33 #1E3F8B
square
#8B1E76 #8B691E #1E8B33 #1E3F8B
split-complementary
#8B1E76 #3F8B1E #1E8B69
monochromatic
#260821 #59134B #8B1E76 #BD29A1 #D84BBD

Accessibility & contrast

On white

8.25
#8B1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8B1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E76
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E76#FFFFFF#000000##FFFFFF
##8B1E761.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224478
Deuteranopia (green-blind)
#485473
Tritanopia (blue-blind)
#932548
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1e76;
/* rgb */ color: rgb(139, 30, 118);
/* oklch */ color: oklch(44.9% 0.171 337.3);
Tailwind
colors: {
  custom: {
    50: '#b0679e',
    500: '#8b1e76',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e76;
$custom-light: #b0679e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e76",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 311.56,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.17115,
    "h": 337.3
  },
  "luminance": 0.07726
}

Semantic roles & 50–950 ramp

primary
#8B1E76
secondary
#4ABB60
accent
#E76140
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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