#9B2772#9B2772

#9B2772 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.169 H 345.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9B2772
RGBrgb(155, 39, 114)
HSLhsl(321, 60%, 38%)
HSVhsv(321, 75%, 61%)
CMYKcmyk(0%, 74.8%, 26.5%, 39.2%)
CIE-LABlab(37.18, 54.03, -15.72)
CIE-LCHlch(37.18, 56.27, 343.78°)
OKLaboklab(48.09% 0.1638 -0.0417)
OKLCHoklch(48.09% 0.169 345.7)
XYZxyz(17.2811, 9.6364, 16.8663)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2772 #279B50
analogous
#8A279B #9B2772 #9B2738
triadic
#9B2772 #729B27 #27729B
tetradic
#9B2772 #9B8A27 #279B50 #27389B
square
#9B2772 #9B8A27 #279B50 #27389B
split-complementary
#9B2772 #389B27 #279B8A
monochromatic
#390E2A #6A1B4E #9B2772 #CC3396 #D864AF

Accessibility & contrast

On white

7.17
#9B2772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B2772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2772
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2772#FFFFFF#000000##FFFFFF
##9B27721.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B74
Deuteranopia (green-blind)
#595F6F
Tritanopia (blue-blind)
#A62449
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2772;
/* rgb */ color: rgb(155, 39, 114);
/* oklch */ color: oklch(48.1% 0.169 345.7);
Tailwind
colors: {
  custom: {
    50: '#bc6d9a',
    500: '#9b2772',
    950: '#000000',
  },
}
SCSS
$custom: #9b2772;
$custom-light: #bc6d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2772",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 321.207,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48085,
    "c": 0.16904,
    "h": 345.7
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#9B2772
secondary
#60BE81
accent
#E37D45
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2772

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

Preview Lab → · Contrast checker → · Palette generator →

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