#9D2572#9D2572

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

Color values

HEX#9D2572
RGBrgb(157, 37, 114)
HSLhsl(322, 62%, 38%)
HSVhsv(322, 76%, 62%)
CMYKcmyk(0%, 76.4%, 27.4%, 38.4%)
CIE-LABlab(37.31, 55.21, -15.48)
CIE-LCHlch(37.31, 57.34, 344.33°)
OKLaboklab(48.25% 0.1677 -0.041)
OKLCHoklch(48.25% 0.173 346.3)
XYZxyz(17.6043, 9.7081, 16.8631)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2572 #259D50
analogous
#8C259D #9D2572 #9D2536
triadic
#9D2572 #729D25 #25729D
tetradic
#9D2572 #9D8C25 #259D50 #25369D
square
#9D2572 #9D8C25 #259D50 #25369D
split-complementary
#9D2572 #369D25 #259D8C
monochromatic
#3A0E2A #6B194E #9D2572 #CE3196 #DA62AF

Accessibility & contrast

On white

7.14
#9D2572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2572
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2572#FFFFFF#000000##FFFFFF
##9D25721.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B74
Deuteranopia (green-blind)
#5A5F6F
Tritanopia (blue-blind)
#A82248
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2572;
/* rgb */ color: rgb(157, 37, 114);
/* oklch */ color: oklch(48.2% 0.173 346.3);
Tailwind
colors: {
  custom: {
    50: '#be6c9a',
    500: '#9d2572',
    950: '#000000',
  },
}
SCSS
$custom: #9d2572;
$custom-light: #be6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2572",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 321.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48249,
    "c": 0.17269,
    "h": 346.3
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#9D2572
secondary
#5EBF81
accent
#E57D43
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D2572

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

Preview Lab → · Contrast checker → · Palette generator →

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