#8D1877#8D1877

#8D1877 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.179 H 337.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8D1877
RGBrgb(141, 24, 119)
HSLhsl(311, 71%, 32%)
HSVhsv(311, 83%, 55%)
CMYKcmyk(0%, 83%, 15.6%, 44.7%)
CIE-LABlab(33.24, 55.78, -25.18)
CIE-LCHlch(33.24, 61.20, 335.71°)
OKLaboklab(44.83% 0.165 -0.0685)
OKLCHoklch(44.83% 0.179 337.4)
XYZxyz(14.6412, 7.6493, 18.1546)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1877 #188D2E
analogous
#69188D #8D1877 #8D183D
triadic
#8D1877 #778D18 #18778D
tetradic
#8D1877 #8D6918 #188D2E #183D8D
square
#8D1877 #8D6918 #188D2E #183D8D
split-complementary
#8D1877 #3D8D18 #188D69
monochromatic
#24061F #590F4B #8D1877 #C121A3 #DF41C1

Accessibility & contrast

On white

8.30
#8D1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8D1877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1877
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1877#FFFFFF#000000##FFFFFF
##8D18771.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4379
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#952147
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1877;
/* rgb */ color: rgb(141, 24, 119);
/* oklch */ color: oklch(44.8% 0.179 337.4);
Tailwind
colors: {
  custom: {
    50: '#b2659e',
    500: '#8d1877',
    950: '#000000',
  },
}
SCSS
$custom: #8d1877;
$custom-light: #b2659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1877",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 311.282,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44832,
    "c": 0.17865,
    "h": 337.4
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#8D1877
secondary
#42BF59
accent
#EE5C3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1877

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

Preview Lab → · Contrast checker → · Palette generator →

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