#8D1A71#8D1A71

#8D1A71 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.173 H 340.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8D1A71
RGBrgb(141, 26, 113)
HSLhsl(315, 69%, 33%)
HSVhsv(315, 82%, 55%)
CMYKcmyk(0%, 81.6%, 19.9%, 44.7%)
CIE-LABlab(33.13, 54.40, -21.56)
CIE-LCHlch(33.13, 58.52, 338.38°)
OKLaboklab(44.65% 0.1628 -0.0582)
OKLCHoklch(44.65% 0.173 340.3)
XYZxyz(14.3350, 7.5952, 16.3307)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A71 #1A8D36
analogous
#701A8D #8D1A71 #8D1A37
triadic
#8D1A71 #718D1A #1A718D
tetradic
#8D1A71 #8D701A #1A8D36 #1A378D
square
#8D1A71 #8D701A #1A8D36 #1A378D
split-complementary
#8D1A71 #378D1A #1A8D70
monochromatic
#26071E #591048 #8D1A71 #C1249A #DD45B8

Accessibility & contrast

On white

8.34
#8D1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8D1A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A71
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A71#FFFFFF#000000##FFFFFF
##8D1A711.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#4A546E
Tritanopia (blue-blind)
#961E44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1a71;
/* rgb */ color: rgb(141, 26, 113);
/* oklch */ color: oklch(44.7% 0.173 340.3);
Tailwind
colors: {
  custom: {
    50: '#b2659a',
    500: '#8d1a71',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a71;
$custom-light: #b2659a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a71",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 314.609,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44651,
    "c": 0.17286,
    "h": 340.3
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#8D1A71
secondary
#45BE62
accent
#EC673C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1A71

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

Preview Lab → · Contrast checker → · Palette generator →

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