#9B2571#9B2571

#9B2571 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.171 H 346.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9B2571
RGBrgb(155, 37, 113)
HSLhsl(321, 61%, 38%)
HSVhsv(321, 76%, 61%)
CMYKcmyk(0%, 76.1%, 27.1%, 39.2%)
CIE-LABlab(36.90, 54.57, -15.52)
CIE-LCHlch(36.90, 56.73, 344.13°)
OKLaboklab(47.87% 0.1657 -0.0411)
OKLCHoklch(47.87% 0.171 346.1)
XYZxyz(17.1605, 9.4858, 16.5468)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2571 #259B4F
analogous
#8A259B #9B2571 #9B2536
triadic
#9B2571 #719B25 #25719B
tetradic
#9B2571 #9B8A25 #259B4F #25369B
square
#9B2571 #9B8A25 #259B4F #25369B
split-complementary
#9B2571 #369B25 #259B8A
monochromatic
#380D29 #6A194D #9B2571 #CC3195 #D961AF

Accessibility & contrast

On white

7.25
#9B2571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9B2571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2571
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2571#FFFFFF#000000##FFFFFF
##9B25711.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#585E6E
Tritanopia (blue-blind)
#A62248
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2571;
/* rgb */ color: rgb(155, 37, 113);
/* oklch */ color: oklch(47.9% 0.171 346.1);
Tailwind
colors: {
  custom: {
    50: '#bd6c9a',
    500: '#9b2571',
    950: '#000000',
  },
}
SCSS
$custom: #9b2571;
$custom-light: #bd6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2571",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 321.356,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47869,
    "c": 0.1707,
    "h": 346.1
  },
  "luminance": 0.09484
}

Semantic roles & 50–950 ramp

primary
#9B2571
secondary
#5DBF80
accent
#E57D43
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2571

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

Preview Lab → · Contrast checker → · Palette generator →

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