#9D528D#9D528D

#9D528D is a mid, vivid pink. Relative luminance 0.151; OKLCH L 54.9% C 0.125 H 335.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9D528D
RGBrgb(157, 82, 141)
HSLhsl(313, 31%, 47%)
HSVhsv(313, 48%, 62%)
CMYKcmyk(0%, 47.8%, 10.2%, 38.4%)
CIE-LABlab(45.81, 39.32, -19.04)
CIE-LCHlch(45.81, 43.69, 334.16°)
OKLaboklab(54.88% 0.1138 -0.0514)
OKLCHoklch(54.88% 0.125 335.7)
XYZxyz(21.7297, 15.1272, 26.9694)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D528D #529D62
analogous
#88529D #9D528D #9D5268
triadic
#9D528D #8D9D52 #528D9D
tetradic
#9D528D #9D8852 #529D62 #52689D
square
#9D528D #9D8852 #529D62 #52689D
split-complementary
#9D528D #689D52 #529D88
monochromatic
#4D2845 #753D69 #9D528D #B775A9 #CC9DC2

Accessibility & contrast

On white

5.22
#9D528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9D528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D528D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D528D#FFFFFF#000000##FFFFFF
##9D528D1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53658F
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#A45569
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d528d;
/* rgb */ color: rgb(157, 82, 141);
/* oklch */ color: oklch(54.9% 0.125 335.7);
Tailwind
colors: {
  custom: {
    50: '#bc85ae',
    500: '#9d528d',
    950: '#000000',
  },
}
SCSS
$custom: #9d528d;
$custom-light: #bc85ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d528d",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 312.8,
    "s": 31.381,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54876,
    "c": 0.12487,
    "h": 335.7
  },
  "luminance": 0.15126
}

Semantic roles & 50–950 ramp

primary
#9D528D
secondary
#92B99A
accent
#C87660
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9D528D

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

Preview Lab → · Contrast checker → · Palette generator →

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