#9B528E#9B528E

#9B528E is a mid, vivid pink. Relative luminance 0.150; OKLCH L 54.7% C 0.124 H 334.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9B528E
RGBrgb(155, 82, 142)
HSLhsl(311, 31%, 46%)
HSVhsv(311, 47%, 61%)
CMYKcmyk(0%, 47.1%, 8.4%, 39.2%)
CIE-LABlab(45.58, 38.85, -20.02)
CIE-LCHlch(45.58, 43.70, 332.74°)
OKLaboklab(54.66% 0.1117 -0.0541)
OKLCHoklch(54.66% 0.124 334.1)
XYZxyz(21.4173, 14.9575, 27.3449)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B528E #529B5F
analogous
#84529B #9B528E #9B526A
triadic
#9B528E #8E9B52 #528E9B
tetradic
#9B528E #9B8452 #529B5F #526A9B
square
#9B528E #9B8452 #529B5F #526A9B
split-complementary
#9B528E #6A9B52 #529B84
monochromatic
#4B2845 #733D69 #9B528E #B674AA #CB9DC3

Accessibility & contrast

On white

5.26
#9B528E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9B528E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B528E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B528E#FFFFFF#000000##FFFFFF
##9B528E1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516590
Deuteranopia (green-blind)
#65708C
Tritanopia (blue-blind)
#A15669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b528e;
/* rgb */ color: rgb(155, 82, 142);
/* oklch */ color: oklch(54.7% 0.124 334.1);
Tailwind
colors: {
  custom: {
    50: '#ba85af',
    500: '#9b528e',
    950: '#000000',
  },
}
SCSS
$custom: #9b528e;
$custom-light: #ba85af;
$custom-dark: #000000;
JSON
{
  "hex": "#9b528e",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 310.685,
    "s": 30.802,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54659,
    "c": 0.12414,
    "h": 334.1
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#9B528E
secondary
#91B898
accent
#C77361
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9B528E

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

Preview Lab → · Contrast checker → · Palette generator →

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