#9B2572#9B2572

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

Color values

HEX#9B2572
RGBrgb(155, 37, 114)
HSLhsl(321, 61%, 38%)
HSVhsv(321, 76%, 61%)
CMYKcmyk(0%, 76.1%, 26.5%, 39.2%)
CIE-LABlab(36.95, 54.69, -16.08)
CIE-LCHlch(36.95, 57.01, 343.62°)
OKLaboklab(47.91% 0.1659 -0.0427)
OKLCHoklch(47.91% 0.171 345.6)
XYZxyz(17.2172, 9.5085, 16.8449)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2572 #259B4E
analogous
#89259B #9B2572 #9B2537
triadic
#9B2572 #729B25 #25729B
tetradic
#9B2572 #9B8925 #259B4E #25379B
square
#9B2572 #9B8925 #259B4E #25379B
split-complementary
#9B2572 #379B25 #259B89
monochromatic
#380D29 #6A194E #9B2572 #CC3196 #D961B0

Accessibility & contrast

On white

7.24
#9B2572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B2572
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2572#FFFFFF#000000##FFFFFF
##9B25721.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#A62248
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2572;
/* rgb */ color: rgb(155, 37, 114);
/* oklch */ color: oklch(47.9% 0.171 345.6);
Tailwind
colors: {
  custom: {
    50: '#bc6c9a',
    500: '#9b2572',
    950: '#000000',
  },
}
SCSS
$custom: #9b2572;
$custom-light: #bc6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2572",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 320.847,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47913,
    "c": 0.17129,
    "h": 345.6
  },
  "luminance": 0.09507
}

Semantic roles & 50–950 ramp

primary
#9B2572
secondary
#5DBF7F
accent
#E57B43
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2572

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

Preview Lab → · Contrast checker → · Palette generator →

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