#8D1B76#8D1B76

#8D1B76 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.175 H 338.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8D1B76
RGBrgb(141, 27, 118)
HSLhsl(312, 68%, 33%)
HSVhsv(312, 81%, 55%)
CMYKcmyk(0%, 80.9%, 16.3%, 44.7%)
CIE-LABlab(33.47, 54.83, -24.19)
CIE-LCHlch(33.47, 59.93, 336.19°)
OKLaboklab(44.98% 0.1625 -0.0657)
OKLCHoklch(44.98% 0.175 338)
XYZxyz(14.6468, 7.7560, 17.8617)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B76 #1B8D32
analogous
#6B1B8D #8D1B76 #8D1B3D
triadic
#8D1B76 #768D1B #1B768D
tetradic
#8D1B76 #8D6B1B #1B8D32 #1B3D8D
square
#8D1B76 #8D6B1B #1B8D32 #1B3D8D
split-complementary
#8D1B76 #3D8D1B #1B8D6B
monochromatic
#260720 #5A114B #8D1B76 #C025A1 #DC47BE

Accessibility & contrast

On white

8.23
#8D1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8D1B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B76
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B76#FFFFFF#000000##FFFFFF
##8D1B761.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214478
Deuteranopia (green-blind)
#495573
Tritanopia (blue-blind)
#952247
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1b76;
/* rgb */ color: rgb(141, 27, 118);
/* oklch */ color: oklch(45.0% 0.175 338.0);
Tailwind
colors: {
  custom: {
    50: '#b2669e',
    500: '#8d1b76',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b76;
$custom-light: #b2669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b76",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 312.105,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44979,
    "c": 0.17528,
    "h": 338
  },
  "luminance": 0.07755
}

Semantic roles & 50–950 ramp

primary
#8D1B76
secondary
#46BD5E
accent
#EB603D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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