#8D2571#8D2571

#8D2571 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.161 H 340.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8D2571
RGBrgb(141, 37, 113)
HSLhsl(316, 58%, 35%)
HSVhsv(316, 74%, 55%)
CMYKcmyk(0%, 73.8%, 19.9%, 44.7%)
CIE-LABlab(34.35, 50.90, -19.66)
CIE-LCHlch(34.35, 54.56, 338.89°)
OKLaboklab(45.54% 0.1521 -0.0529)
OKLCHoklch(45.54% 0.161 340.8)
XYZxyz(14.6271, 8.1796, 16.4281)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2571 #258D41
analogous
#75258D #8D2571 #8D253D
triadic
#8D2571 #718D25 #25718D
tetradic
#8D2571 #8D7525 #258D41 #253D8D
square
#8D2571 #8D7525 #258D41 #253D8D
split-complementary
#8D2571 #3D8D25 #258D75
monochromatic
#2C0C23 #5D184A #8D2571 #BD3298 #D359B2

Accessibility & contrast

On white

7.97
#8D2571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D2571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2571
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2571#FFFFFF#000000##FFFFFF
##8D25711.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#4E576F
Tritanopia (blue-blind)
#962748
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2571;
/* rgb */ color: rgb(141, 37, 113);
/* oklch */ color: oklch(45.5% 0.161 340.8);
Tailwind
colors: {
  custom: {
    50: '#b26a9a',
    500: '#8d2571',
    950: '#000000',
  },
}
SCSS
$custom: #8d2571;
$custom-light: #b26a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2571",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 316.154,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.16105,
    "h": 340.8
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#8D2571
secondary
#56B870
accent
#E27046
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2571

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

Preview Lab → · Contrast checker → · Palette generator →

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