#8B1D78#8B1D78

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

Color values

HEX#8B1D78
RGBrgb(139, 29, 120)
HSLhsl(310, 65%, 33%)
HSVhsv(310, 79%, 55%)
CMYKcmyk(0%, 79.1%, 13.7%, 45.5%)
CIE-LABlab(33.40, 54.08, -25.58)
CIE-LCHlch(33.40, 59.82, 334.68°)
OKLaboklab(44.9% 0.1589 -0.0698)
OKLCHoklch(44.9% 0.174 336.3)
XYZxyz(14.4772, 7.7251, 18.4943)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D78 #1D8B30
analogous
#671D8B #8B1D78 #8B1D41
triadic
#8B1D78 #788B1D #1D788B
tetradic
#8B1D78 #8B671D #1D8B30 #1D418B
square
#8B1D78 #8B671D #1D8B30 #1D418B
split-complementary
#8B1D78 #418B1D #1D8B67
monochromatic
#260821 #58124C #8B1D78 #BE28A4 #D949C0

Accessibility & contrast

On white

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

On black

2.54
#8B1D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8B1D78#FFFFFF#000000##FFFFFF
##8B1D781.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447A
Deuteranopia (green-blind)
#475475
Tritanopia (blue-blind)
#932549
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1d78;
/* rgb */ color: rgb(139, 29, 120);
/* oklch */ color: oklch(44.9% 0.174 336.3);
Tailwind
colors: {
  custom: {
    50: '#b0679f',
    500: '#8b1d78',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d78;
$custom-light: #b0679f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d78",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 310.364,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44896,
    "c": 0.17357,
    "h": 336.3
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#8B1D78
secondary
#49BB5C
accent
#E85D3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1D78

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

Preview Lab → · Contrast checker → · Palette generator →

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