#8D1B77#8D1B77

#8D1B77 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.176 H 337.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8D1B77
RGBrgb(141, 27, 119)
HSLhsl(312, 68%, 33%)
HSVhsv(312, 81%, 55%)
CMYKcmyk(0%, 80.9%, 15.6%, 44.7%)
CIE-LABlab(33.52, 54.98, -24.74)
CIE-LCHlch(33.52, 60.29, 335.77°)
OKLaboklab(45.03% 0.1626 -0.0673)
OKLCHoklch(45.03% 0.176 337.5)
XYZxyz(14.7065, 7.7799, 18.1763)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B77 #1B8D31
analogous
#6A1B8D #8D1B77 #8D1B3E
triadic
#8D1B77 #778D1B #1B778D
tetradic
#8D1B77 #8D6A1B #1B8D31 #1B3E8D
square
#8D1B77 #8D6A1B #1B8D31 #1B3E8D
split-complementary
#8D1B77 #3E8D1B #1B8D6A
monochromatic
#260720 #5A114C #8D1B77 #C025A2 #DC47BF

Accessibility & contrast

On white

8.22
#8D1B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8D1B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B77
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B77#FFFFFF#000000##FFFFFF
##8D1B771.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204479
Deuteranopia (green-blind)
#485574
Tritanopia (blue-blind)
#952348
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1b77;
/* rgb */ color: rgb(141, 27, 119);
/* oklch */ color: oklch(45.0% 0.176 337.5);
Tailwind
colors: {
  custom: {
    50: '#b2669e',
    500: '#8d1b77',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b77;
$custom-light: #b2669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b77",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 311.579,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45032,
    "c": 0.17596,
    "h": 337.5
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#8D1B77
secondary
#46BD5D
accent
#EB5F3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1B77

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

Preview Lab → · Contrast checker → · Palette generator →

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