#8D2177#8D2177

#8D2177 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.170 H 337.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8D2177
RGBrgb(141, 33, 119)
HSLhsl(312, 62%, 34%)
HSVhsv(312, 77%, 55%)
CMYKcmyk(0%, 76.6%, 15.6%, 44.7%)
CIE-LABlab(34.16, 53.16, -23.75)
CIE-LCHlch(34.16, 58.22, 335.93°)
OKLaboklab(45.49% 0.1571 -0.0645)
OKLCHoklch(45.49% 0.17 337.7)
XYZxyz(14.8584, 8.0838, 18.2270)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2177 #218D37
analogous
#6D218D #8D2177 #8D2141
triadic
#8D2177 #778D21 #21778D
tetradic
#8D2177 #8D6D21 #218D37 #21418D
square
#8D2177 #8D6D21 #218D37 #21418D
split-complementary
#8D2177 #418D21 #218D6D
monochromatic
#2A0A23 #5B154D #8D2177 #BF2DA1 #D652BB

Accessibility & contrast

On white

8.03
#8D2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8D2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2177
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2177#FFFFFF#000000##FFFFFF
##8D21771.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254679
Deuteranopia (green-blind)
#4A5674
Tritanopia (blue-blind)
#95274A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d2177;
/* rgb */ color: rgb(141, 33, 119);
/* oklch */ color: oklch(45.5% 0.170 337.7);
Tailwind
colors: {
  custom: {
    50: '#b2689e',
    500: '#8d2177',
    950: '#000000',
  },
}
SCSS
$custom: #8d2177;
$custom-light: #b2689e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2177",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 312.222,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4549,
    "c": 0.16983,
    "h": 337.7
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#8D2177
secondary
#50BA65
accent
#E56443
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2177

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

Preview Lab → · Contrast checker → · Palette generator →

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