#9F528D#9F528D

#9F528D is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.1% C 0.127 H 336.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9F528D
RGBrgb(159, 82, 141)
HSLhsl(314, 32%, 47%)
HSVhsv(314, 48%, 62%)
CMYKcmyk(0%, 48.4%, 11.3%, 37.6%)
CIE-LABlab(46.08, 39.97, -18.59)
CIE-LCHlch(46.08, 44.08, 335.05°)
OKLaboklab(55.14% 0.1162 -0.0501)
OKLCHoklch(55.14% 0.127 336.7)
XYZxyz(22.1232, 15.3301, 26.9879)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F528D #529F64
analogous
#8B529F #9F528D #9F5267
triadic
#9F528D #8D9F52 #528D9F
tetradic
#9F528D #9F8B52 #529F64 #52679F
square
#9F528D #9F8B52 #529F64 #52679F
split-complementary
#9F528D #679F52 #529F8B
monochromatic
#4E2845 #773D69 #9F528D #B876A9 #CD9EC2

Accessibility & contrast

On white

5.17
#9F528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9F528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F528D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F528D#FFFFFF#000000##FFFFFF
##9F528D1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53668F
Deuteranopia (green-blind)
#68718B
Tritanopia (blue-blind)
#A65569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f528d;
/* rgb */ color: rgb(159, 82, 141);
/* oklch */ color: oklch(55.1% 0.127 336.7);
Tailwind
colors: {
  custom: {
    50: '#bd85ae',
    500: '#9f528d',
    950: '#000000',
  },
}
SCSS
$custom: #9f528d;
$custom-light: #bd85ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f528d",
  "rgb": {
    "r": 159,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 314.026,
    "s": 31.95,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55139,
    "c": 0.1265,
    "h": 336.7
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#9F528D
secondary
#93BA9C
accent
#C87860
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9F528D

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

Preview Lab → · Contrast checker → · Palette generator →

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