#8B1D71#8B1D71

#8B1D71 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.169 H 339.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8B1D71
RGBrgb(139, 29, 113)
HSLhsl(314, 65%, 33%)
HSVhsv(314, 79%, 55%)
CMYKcmyk(0%, 79.1%, 18.7%, 45.5%)
CIE-LABlab(33.05, 53.05, -21.71)
CIE-LCHlch(33.05, 57.32, 337.75°)
OKLaboklab(44.53% 0.1582 -0.0587)
OKLCHoklch(44.53% 0.169 339.6)
XYZxyz(14.0679, 7.5614, 16.3382)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D71 #1D8B37
analogous
#6E1D8B #8B1D71 #8B1D3A
triadic
#8B1D71 #718B1D #1D718B
tetradic
#8B1D71 #8B6E1D #1D8B37 #1D3A8B
square
#8B1D71 #8B6E1D #1D8B37 #1D3A8B
split-complementary
#8B1D71 #3A8B1D #1D8B6E
monochromatic
#26081F #581248 #8B1D71 #BE289A #D949B7

Accessibility & contrast

On white

8.36
#8B1D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1D71
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D71#FFFFFF#000000##FFFFFF
##8B1D711.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#4A546F
Tritanopia (blue-blind)
#932145
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1d71;
/* rgb */ color: rgb(139, 29, 113);
/* oklch */ color: oklch(44.5% 0.169 339.6);
Tailwind
colors: {
  custom: {
    50: '#b1669a',
    500: '#8b1d71',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d71;
$custom-light: #b1669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d71",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 314.182,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44528,
    "c": 0.16873,
    "h": 339.6
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#8B1D71
secondary
#49BB64
accent
#E8673F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1D71

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

Preview Lab → · Contrast checker → · Palette generator →

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