#9D2571#9D2571

#9D2571 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.172 H 346.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9D2571
RGBrgb(157, 37, 113)
HSLhsl(322, 62%, 38%)
HSVhsv(322, 76%, 62%)
CMYKcmyk(0%, 76.4%, 28%, 38.4%)
CIE-LABlab(37.27, 55.09, -14.92)
CIE-LCHlch(37.27, 57.07, 344.85°)
OKLaboklab(48.21% 0.1675 -0.0395)
OKLCHoklch(48.21% 0.172 346.7)
XYZxyz(17.5477, 9.6854, 16.5650)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2571 #259D51
analogous
#8D259D #9D2571 #9D2535
triadic
#9D2571 #719D25 #25719D
tetradic
#9D2571 #9D8D25 #259D51 #25359D
square
#9D2571 #9D8D25 #259D51 #25359D
split-complementary
#9D2571 #359D25 #259D8D
monochromatic
#3A0E2A #6B194D #9D2571 #CE3195 #DA62AE

Accessibility & contrast

On white

7.15
#9D2571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9D2571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2571
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2571#FFFFFF#000000##FFFFFF
##9D25711.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B73
Deuteranopia (green-blind)
#5A5F6E
Tritanopia (blue-blind)
#A82148
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2571;
/* rgb */ color: rgb(157, 37, 113);
/* oklch */ color: oklch(48.2% 0.172 346.7);
Tailwind
colors: {
  custom: {
    50: '#be6c9a',
    500: '#9d2571',
    950: '#000000',
  },
}
SCSS
$custom: #9d2571;
$custom-light: #be6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2571",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 322,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48205,
    "c": 0.1721,
    "h": 346.7
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#9D2571
secondary
#5EBF82
accent
#E57E43
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D2571

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

Preview Lab → · Contrast checker → · Palette generator →

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