#9A5877#9A5877

#9A5877 is a mid, moderate pink. Relative luminance 0.152; OKLCH L 54.6% C 0.095 H 351.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9A5877
RGBrgb(154, 88, 119)
HSLhsl(332, 27%, 47%)
HSVhsv(332, 43%, 60%)
CMYKcmyk(0%, 42.9%, 22.7%, 39.6%)
CIE-LABlab(45.88, 31.38, -5.69)
CIE-LCHlch(45.88, 31.89, 349.73°)
OKLaboklab(54.58% 0.094 -0.0147)
OKLCHoklch(54.58% 0.095 351.1)
XYZxyz(20.1464, 15.1828, 19.3187)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5877 #589A7B
analogous
#9A5898 #9A5877 #9A5A58
triadic
#9A5877 #779A58 #58779A
tetradic
#9A5877 #989A58 #589A7B #5A589A
square
#9A5877 #989A58 #589A7B #5A589A
split-complementary
#9A5877 #589A5A #58989A
monochromatic
#4C2B3B #734259 #9A5877 #B47B96 #CAA2B5

Accessibility & contrast

On white

5.20
#9A5877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9A5877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A5877
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5877#FFFFFF#000000##FFFFFF
##9A58771.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6678
Deuteranopia (green-blind)
#707175
Tritanopia (blue-blind)
#A35663
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a5877;
/* rgb */ color: rgb(154, 88, 119);
/* oklch */ color: oklch(54.6% 0.095 351.1);
Tailwind
colors: {
  custom: {
    50: '#b9889e',
    500: '#9a5877',
    950: '#000000',
  },
}
SCSS
$custom: #9a5877;
$custom-light: #b9889e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5877",
  "rgb": {
    "r": 154,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 331.818,
    "s": 27.273,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54583,
    "c": 0.09517,
    "h": 351.1
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#9A5877
secondary
#96B8A8
accent
#C49764
background
#FBF8F9
surface
#F6F0F2
border
#D0CBCC
text
#120B0E
muted
#817C7E

Preview Lab

Preview with #9A5877

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

Preview Lab → · Contrast checker → · Palette generator →

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