Skip to content

#ad2ba4

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

RGB
173, 43, 164
HSL
304°, 60%, 42%
CMYK
0, 75, 5, 32
Luminance
0.1329

Every format

HEX#ad2ba4
RGBrgb(173, 43, 164)
HSLhsl(304, 60%, 42%)
CMYKcmyk(0%, 75%, 5%, 32%)
LABlab(43.2 64.3 -36.7)
LCHlch(43.2 74.0 330.3)
OKLCHoklch(0.538 0.209 331.1)

Copy-ready code

/* CSS */
color: #ad2ba4;
background-color: #ad2ba4;
/* Tailwind (arbitrary) */
class="text-[#ad2ba4] bg-[#ad2ba4]"
/* SCSS */
$brand: #ad2ba4;
/* SwiftUI */
Color(red: 0.678, green: 0.169, blue: 0.643)
/* Android */
Color.parseColor("#ad2ba4")

Accessibility — WCAG contrast

Aa
#ad2ba4 on white: 5.74:1
AA ✓ pass · AA-large · AAA
Aa
#ad2ba4 on black: 3.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green16.9%
Blue64.3%

CMYK percentages

Cyan0.0%
Magenta75.1%
Yellow5.2%
Key (black)32.2%

Color previews

#ad2ba4 text on a black background

contrast 3.66:1

Card sample

#ad2ba4 text on a white background

contrast 5.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 43, 164, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 43, 164, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad2ba4;
background: linear-gradient(135deg, #ad2ba4, #AD2B4D);

Monochromatic scale

Palettes built from #ad2ba4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2ba4 in the Color Lab