#8D1D77#8D1D77

#8D1D77 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.174 H 337.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8D1D77
RGBrgb(141, 29, 119)
HSLhsl(312, 66%, 33%)
HSVhsv(312, 79%, 55%)
CMYKcmyk(0%, 79.4%, 15.6%, 44.7%)
CIE-LABlab(33.72, 54.40, -24.43)
CIE-LCHlch(33.72, 59.64, 335.82°)
OKLaboklab(45.18% 0.1608 -0.0664)
OKLCHoklch(45.18% 0.174 337.6)
XYZxyz(14.7540, 7.8748, 18.1921)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D77 #1D8D33
analogous
#6B1D8D #8D1D77 #8D1D3F
triadic
#8D1D77 #778D1D #1D778D
tetradic
#8D1D77 #8D6B1D #1D8D33 #1D3F8D
square
#8D1D77 #8D6B1D #1D8D33 #1D3F8D
split-complementary
#8D1D77 #3F8D1D #1D8D6B
monochromatic
#270821 #5A134C #8D1D77 #C027A2 #DA4BBE

Accessibility & contrast

On white

8.16
#8D1D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8D1D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D77
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D77#FFFFFF#000000##FFFFFF
##8D1D771.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224479
Deuteranopia (green-blind)
#495574
Tritanopia (blue-blind)
#952449
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1d77;
/* rgb */ color: rgb(141, 29, 119);
/* oklch */ color: oklch(45.2% 0.174 337.6);
Tailwind
colors: {
  custom: {
    50: '#b2679e',
    500: '#8d1d77',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d77;
$custom-light: #b2679e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d77",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 311.786,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45176,
    "c": 0.17402,
    "h": 337.6
  },
  "luminance": 0.07873
}

Semantic roles & 50–950 ramp

primary
#8D1D77
secondary
#4ABC60
accent
#E9603F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1D77

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

Preview Lab → · Contrast checker → · Palette generator →

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