#8D1E77#8D1E77

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

Color values

HEX#8D1E77
RGBrgb(141, 30, 119)
HSLhsl(312, 65%, 34%)
HSVhsv(312, 79%, 55%)
CMYKcmyk(0%, 78.7%, 15.6%, 44.7%)
CIE-LABlab(33.83, 54.10, -24.27)
CIE-LCHlch(33.83, 59.30, 335.84°)
OKLaboklab(45.25% 0.1599 -0.066)
OKLCHoklch(45.25% 0.173 337.6)
XYZxyz(14.7789, 7.9246, 18.2005)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E77 #1E8D34
analogous
#6B1E8D #8D1E77 #8D1E3F
triadic
#8D1E77 #778D1E #1E778D
tetradic
#8D1E77 #8D6B1E #1E8D34 #1E3F8D
square
#8D1E77 #8D6B1E #1E8D34 #1E3F8D
split-complementary
#8D1E77 #3F8D1E #1E8D6B
monochromatic
#280922 #5B134C #8D1E77 #BF29A2 #D94CBD

Accessibility & contrast

On white

8.13
#8D1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E77
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E77#FFFFFF#000000##FFFFFF
##8D1E771.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234579
Deuteranopia (green-blind)
#495674
Tritanopia (blue-blind)
#952549
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1e77;
/* rgb */ color: rgb(141, 30, 119);
/* oklch */ color: oklch(45.3% 0.173 337.6);
Tailwind
colors: {
  custom: {
    50: '#b2679e',
    500: '#8d1e77',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e77;
$custom-light: #b2679e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e77",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 311.892,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45251,
    "c": 0.17301,
    "h": 337.6
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#8D1E77
secondary
#4BBC61
accent
#E86140
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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