#9A5871#9A5871

#9A5871 is a mid, moderate pink. Relative luminance 0.150; OKLCH L 54.4% C 0.092 H 356.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9A5871
RGBrgb(154, 88, 113)
HSLhsl(337, 27%, 47%)
HSVhsv(337, 43%, 60%)
CMYKcmyk(0%, 42.9%, 26.6%, 39.6%)
CIE-LABlab(45.69, 30.47, -2.33)
CIE-LCHlch(45.69, 30.56, 355.62°)
OKLaboklab(54.38% 0.0919 -0.0057)
OKLCHoklch(54.38% 0.092 356.4)
XYZxyz(19.7973, 15.0432, 17.4805)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5871 #589A81
analogous
#9A5892 #9A5871 #9A6058
triadic
#9A5871 #719A58 #58719A
tetradic
#9A5871 #929A58 #589A81 #60589A
square
#9A5871 #929A58 #589A81 #60589A
split-complementary
#9A5871 #589A60 #58929A
monochromatic
#4C2B38 #734254 #9A5871 #B47B91 #CAA2B1

Accessibility & contrast

On white

5.24
#9A5871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9A5871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A5871
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5871#FFFFFF#000000##FFFFFF
##9A58711.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606572
Deuteranopia (green-blind)
#71716F
Tritanopia (blue-blind)
#A35561
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a5871;
/* rgb */ color: rgb(154, 88, 113);
/* oklch */ color: oklch(54.4% 0.092 356.4);
Tailwind
colors: {
  custom: {
    50: '#b98899',
    500: '#9a5871',
    950: '#000000',
  },
}
SCSS
$custom: #9a5871;
$custom-light: #b98899;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5871",
  "rgb": {
    "r": 154,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 337.273,
    "s": 27.273,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54376,
    "c": 0.09206,
    "h": 356.4
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#9A5871
secondary
#96B8AB
accent
#C49F64
background
#FBF8F9
surface
#F6F0F2
border
#D0CBCC
text
#120B0E
muted
#817C7E

Preview Lab

Preview with #9A5871

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

Preview Lab → · Contrast checker → · Palette generator →

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