#8B1A71#8B1A71

#8B1A71 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.172 H 339.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8B1A71
RGBrgb(139, 26, 113)
HSLhsl(314, 68%, 32%)
HSVhsv(314, 81%, 55%)
CMYKcmyk(0%, 81.3%, 18.7%, 45.5%)
CIE-LABlab(32.75, 53.93, -22.18)
CIE-LCHlch(32.75, 58.31, 337.64°)
OKLaboklab(44.31% 0.1608 -0.06)
OKLCHoklch(44.31% 0.172 339.5)
XYZxyz(13.9979, 7.4214, 16.3149)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A71 #1A8B34
analogous
#6C1A8B #8B1A71 #8B1A39
triadic
#8B1A71 #718B1A #1A718B
tetradic
#8B1A71 #8B6C1A #1A8B34 #1A398B
square
#8B1A71 #8B6C1A #1A8B34 #1A398B
split-complementary
#8B1A71 #398B1A #1A8B6C
monochromatic
#24071D #571047 #8B1A71 #BF249B #DC43B9

Accessibility & contrast

On white

8.45
#8B1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8B1A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A71
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A71#FFFFFF#000000##FFFFFF
##8B1A711.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224273
Deuteranopia (green-blind)
#49536E
Tritanopia (blue-blind)
#931F44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1a71;
/* rgb */ color: rgb(139, 26, 113);
/* oklch */ color: oklch(44.3% 0.172 339.5);
Tailwind
colors: {
  custom: {
    50: '#b1659a',
    500: '#8b1a71',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a71;
$custom-light: #b1659a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a71",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 313.805,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.17168,
    "h": 339.5
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#8B1A71
secondary
#44BD60
accent
#EB653C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1A71

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

Preview Lab → · Contrast checker → · Palette generator →

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