#9B487A#9B487A

#9B487A is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.3% C 0.126 H 345.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9B487A
RGBrgb(155, 72, 122)
HSLhsl(324, 37%, 45%)
HSVhsv(324, 54%, 61%)
CMYKcmyk(0%, 53.5%, 21.3%, 39.2%)
CIE-LABlab(42.78, 40.77, -12.16)
CIE-LCHlch(42.78, 42.55, 343.40°)
OKLaboklab(52.31% 0.1219 -0.0321)
OKLCHoklch(52.31% 0.126 345.2)
XYZxyz(19.3483, 13.0100, 19.9007)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B487A #489B69
analogous
#93489B #9B487A #9B4851
triadic
#9B487A #7A9B48 #487A9B
tetradic
#9B487A #9B9348 #489B69 #48519B
square
#9B487A #9B9348 #489B69 #48519B
split-complementary
#9B487A #519B48 #489B93
monochromatic
#472138 #713559 #9B487A #B96898 #CC91B5

Accessibility & contrast

On white

5.83
#9B487A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9B487A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B487A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B487A#FFFFFF#000000##FFFFFF
##9B487A1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7C
Deuteranopia (green-blind)
#666A78
Tritanopia (blue-blind)
#A4475B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b487a;
/* rgb */ color: rgb(155, 72, 122);
/* oklch */ color: oklch(52.3% 0.126 345.2);
Tailwind
colors: {
  custom: {
    50: '#bb7ea0',
    500: '#9b487a',
    950: '#000000',
  },
}
SCSS
$custom: #9b487a;
$custom-light: #bb7ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b487a",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 323.855,
    "s": 36.564,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.12605,
    "h": 345.2
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

primary
#9B487A
secondary
#87B89A
accent
#CD885B
background
#FBF7F9
surface
#F7EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #9B487A

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

Preview Lab → · Contrast checker → · Palette generator →

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