#9C2571#9C2571

#9C2571 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.171 H 346.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9C2571
RGBrgb(156, 37, 113)
HSLhsl(322, 62%, 38%)
HSVhsv(322, 76%, 61%)
CMYKcmyk(0%, 76.3%, 27.6%, 38.8%)
CIE-LABlab(37.09, 54.83, -15.22)
CIE-LCHlch(37.09, 56.90, 344.49°)
OKLaboklab(48.04% 0.1666 -0.0403)
OKLCHoklch(48.04% 0.171 346.4)
XYZxyz(17.3533, 9.5852, 16.5558)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2571 #259C50
analogous
#8C259C #9C2571 #9C2535
triadic
#9C2571 #719C25 #25719C
tetradic
#9C2571 #9C8C25 #259C50 #25359C
square
#9C2571 #9C8C25 #259C50 #25359C
split-complementary
#9C2571 #359C25 #259C8C
monochromatic
#390E29 #6B194D #9C2571 #CD3195 #DA62AE

Accessibility & contrast

On white

7.20
#9C2571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9C2571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2571
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2571#FFFFFF#000000##FFFFFF
##9C25711.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#595F6E
Tritanopia (blue-blind)
#A72148
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c2571;
/* rgb */ color: rgb(156, 37, 113);
/* oklch */ color: oklch(48.0% 0.171 346.4);
Tailwind
colors: {
  custom: {
    50: '#bd6c9a',
    500: '#9c2571',
    950: '#000000',
  },
}
SCSS
$custom: #9c2571;
$custom-light: #bd6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2571",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 321.681,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48037,
    "c": 0.1714,
    "h": 346.4
  },
  "luminance": 0.09583
}

Semantic roles & 50–950 ramp

primary
#9C2571
secondary
#5EBF81
accent
#E57D43
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9C2571

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

Preview Lab → · Contrast checker → · Palette generator →

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