Skip to content

#9b2c64

a dark, vivid magenta / pink · warm · closest name: purple

RGB
155, 44, 100
HSL
330°, 56%, 39%
CMYK
0, 72, 36, 39
Luminance
0.0969

Every format

HEX#9b2c64
RGBrgb(155, 44, 100)
HSLhsl(330, 56%, 39%)
CMYKcmyk(0%, 72%, 36%, 39%)
LABlab(37.3 50.5 -6.7)
LCHlch(37.3 50.9 352.4)
OKLCHoklch(0.480 0.155 353.7)

Copy-ready code

/* CSS */
color: #9b2c64;
background-color: #9b2c64;
/* Tailwind (arbitrary) */
class="text-[#9b2c64] bg-[#9b2c64]"
/* SCSS */
$brand: #9b2c64;
/* SwiftUI */
Color(red: 0.608, green: 0.173, blue: 0.392)
/* Android */
Color.parseColor("#9b2c64")

Accessibility — WCAG contrast

Aa
#9b2c64 on white: 7.15:1
AA ✓ pass · AA-large · AAA
Aa
#9b2c64 on black: 2.94:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green17.3%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta71.6%
Yellow35.5%
Key (black)39.2%

Color previews

#9b2c64 text on a black background

contrast 2.94:1

Card sample

#9b2c64 text on a white background

contrast 7.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9b2c64;
Background color
Panel with #9b2c64 background
background-color: #9b2c64;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9b2c64;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(155, 44, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 44, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b2c64;
background: linear-gradient(135deg, #9b2c64, #9B3E2C);

Monochromatic scale

Palettes built from #9b2c64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b2c64 in the Color Lab