#8B1D52#8B1D52

#8B1D52 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.151 H 356.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8B1D52
RGBrgb(139, 29, 82)
HSLhsl(331, 65%, 33%)
HSVhsv(331, 79%, 55%)
CMYKcmyk(0%, 79.1%, 41%, 45.5%)
CIE-LABlab(31.76, 49.16, -3.68)
CIE-LCHlch(31.76, 49.30, 355.72°)
OKLaboklab(43.17% 0.1511 -0.0091)
OKLCHoklch(43.17% 0.151 356.6)
XYZxyz(12.6107, 6.9785, 8.6639)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D52 #1D8B56
analogous
#8B1D89 #8B1D52 #8B1F1D
triadic
#8B1D52 #528B1D #1D528B
tetradic
#8B1D52 #898B1D #1D8B56 #1F1D8B
square
#8B1D52 #898B1D #1D8B56 #1F1D8B
split-complementary
#8B1D52 #1D8B1F #1D898B
monochromatic
#260816 #581234 #8B1D52 #BE2870 #D9498F

Accessibility & contrast

On white

8.77
#8B1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8B1D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D52
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D52#FFFFFF#000000##FFFFFF
##8B1D521.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343E53
Deuteranopia (green-blind)
#535250
Tritanopia (blue-blind)
#970C35
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b1d52;
/* rgb */ color: rgb(139, 29, 82);
/* oklch */ color: oklch(43.2% 0.151 356.6);
Tailwind
colors: {
  custom: {
    50: '#b26582',
    500: '#8b1d52',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d52;
$custom-light: #b26582;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d52",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 331.091,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43165,
    "c": 0.15141,
    "h": 356.6
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#8B1D52
secondary
#49BB84
accent
#E8973F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8B1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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