#9D528E#9D528E

#9D528E is a mid, vivid pink. Relative luminance 0.152; OKLCH L 54.9% C 0.126 H 335.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9D528E
RGBrgb(157, 82, 142)
HSLhsl(312, 31%, 47%)
HSVhsv(312, 48%, 62%)
CMYKcmyk(0%, 47.8%, 9.6%, 38.4%)
CIE-LABlab(45.85, 39.49, -19.58)
CIE-LCHlch(45.85, 44.08, 333.63°)
OKLaboklab(54.92% 0.1141 -0.0529)
OKLCHoklch(54.92% 0.126 335.1)
XYZxyz(21.8044, 15.1571, 27.3631)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D528E #529D61
analogous
#87529D #9D528E #9D5269
triadic
#9D528E #8E9D52 #528E9D
tetradic
#9D528E #9D8752 #529D61 #52699D
square
#9D528E #9D8752 #529D61 #52699D
split-complementary
#9D528E #699D52 #529D87
monochromatic
#4D2845 #753D6A #9D528E #B775AA #CC9DC3

Accessibility & contrast

On white

5.21
#9D528E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D528E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D528E#FFFFFF#000000##FFFFFF
##9D528E1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526690
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#A35669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d528e;
/* rgb */ color: rgb(157, 82, 142);
/* oklch */ color: oklch(54.9% 0.126 335.1);
Tailwind
colors: {
  custom: {
    50: '#bc85af',
    500: '#9d528e',
    950: '#000000',
  },
}
SCSS
$custom: #9d528e;
$custom-light: #bc85af;
$custom-dark: #000000;
JSON
{
  "hex": "#9d528e",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 312,
    "s": 31.381,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5492,
    "c": 0.12573,
    "h": 335.1
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D528E

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

Preview Lab → · Contrast checker → · Palette generator →

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