#9C5271#9C5271

#9C5271 is a mid, moderate pink. Relative luminance 0.143; OKLCH L 53.6% C 0.105 H 354.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9C5271
RGBrgb(156, 82, 113)
HSLhsl(335, 31%, 47%)
HSVhsv(335, 47%, 61%)
CMYKcmyk(0%, 47.4%, 27.6%, 38.8%)
CIE-LABlab(44.66, 34.50, -3.83)
CIE-LCHlch(44.66, 34.71, 353.66°)
OKLaboklab(53.65% 0.1042 -0.0097)
OKLCHoklch(53.65% 0.105 354.7)
XYZxyz(19.7089, 14.2964, 17.3410)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5271 #529C7D
analogous
#9C5296 #9C5271 #9C5852
triadic
#9C5271 #719C52 #52719C
tetradic
#9C5271 #969C52 #529C7D #58529C
square
#9C5271 #969C52 #529C7D #58529C
split-complementary
#9C5271 #529C58 #52969C
monochromatic
#4C2837 #743D54 #9C5271 #B67590 #CB9DB0

Accessibility & contrast

On white

5.44
#9C5271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9C5271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C5271
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5271#FFFFFF#000000##FFFFFF
##9C52711.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6172
Deuteranopia (green-blind)
#6E6F6F
Tritanopia (blue-blind)
#A64E5D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9c5271;
/* rgb */ color: rgb(156, 82, 113);
/* oklch */ color: oklch(53.6% 0.105 354.7);
Tailwind
colors: {
  custom: {
    50: '#bb8599',
    500: '#9c5271',
    950: '#000000',
  },
}
SCSS
$custom: #9c5271;
$custom-light: #bb8599;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5271",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 334.865,
    "s": 31.092,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53648,
    "c": 0.10463,
    "h": 354.7
  },
  "luminance": 0.14295
}

Semantic roles & 50–950 ramp

primary
#9C5271
secondary
#91B9A8
accent
#C79C61
background
#FBF8F9
surface
#F7EFF2
border
#D0CACC
text
#120B0E
muted
#817C7E

Preview Lab

Preview with #9C5271

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

Preview Lab → · Contrast checker → · Palette generator →

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