#8B1D77#8B1D77

#8B1D77 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.173 H 336.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8B1D77
RGBrgb(139, 29, 119)
HSLhsl(311, 65%, 33%)
HSVhsv(311, 79%, 55%)
CMYKcmyk(0%, 79.1%, 14.4%, 45.5%)
CIE-LABlab(33.35, 53.93, -25.03)
CIE-LCHlch(33.35, 59.46, 335.10°)
OKLaboklab(44.84% 0.1588 -0.0682)
OKLCHoklch(44.84% 0.173 336.8)
XYZxyz(14.4169, 7.7010, 18.1763)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D77 #1D8B31
analogous
#681D8B #8B1D77 #8B1D40
triadic
#8B1D77 #778B1D #1D778B
tetradic
#8B1D77 #8B681D #1D8B31 #1D408B
square
#8B1D77 #8B681D #1D8B31 #1D408B
split-complementary
#8B1D77 #408B1D #1D8B68
monochromatic
#260820 #58124C #8B1D77 #BE28A2 #D949BF

Accessibility & contrast

On white

8.27
#8B1D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1D77
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D77#FFFFFF#000000##FFFFFF
##8B1D771.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204479
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#932549
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1d77;
/* rgb */ color: rgb(139, 29, 119);
/* oklch */ color: oklch(44.8% 0.173 336.8);
Tailwind
colors: {
  custom: {
    50: '#b1669e',
    500: '#8b1d77',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d77;
$custom-light: #b1669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d77",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 310.909,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44842,
    "c": 0.17287,
    "h": 336.8
  },
  "luminance": 0.077
}

Semantic roles & 50–950 ramp

primary
#8B1D77
secondary
#49BB5D
accent
#E85E3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1D77

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

Preview Lab → · Contrast checker → · Palette generator →

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