#8B1A76#8B1A76

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

Color values

HEX#8B1A76
RGBrgb(139, 26, 118)
HSLhsl(311, 68%, 32%)
HSVhsv(311, 81%, 55%)
CMYKcmyk(0%, 81.3%, 15.1%, 45.5%)
CIE-LABlab(33.00, 54.65, -24.95)
CIE-LCHlch(33.00, 60.07, 335.46°)
OKLaboklab(44.57% 0.1614 -0.068)
OKLCHoklch(44.57% 0.175 337.2)
XYZxyz(14.2872, 7.5371, 17.8384)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A76 #1A8B2F
analogous
#671A8B #8B1A76 #8B1A3E
triadic
#8B1A76 #768B1A #1A768B
tetradic
#8B1A76 #8B671A #1A8B2F #1A3E8B
square
#8B1A76 #8B671A #1A8B2F #1A3E8B
split-complementary
#8B1A76 #3E8B1A #1A8B67
monochromatic
#24071E #57104A #8B1A76 #BF24A2 #DC43C0

Accessibility & contrast

On white

8.38
#8B1A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8B1A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A76
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A76#FFFFFF#000000##FFFFFF
##8B1A761.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1a76;
/* rgb */ color: rgb(139, 26, 118);
/* oklch */ color: oklch(44.6% 0.175 337.2);
Tailwind
colors: {
  custom: {
    50: '#b1659e',
    500: '#8b1a76',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a76;
$custom-light: #b1659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a76",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 311.15,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44572,
    "c": 0.17508,
    "h": 337.2
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#8B1A76
secondary
#44BD5A
accent
#EB5D3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1A76

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

Preview Lab → · Contrast checker → · Palette generator →

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