Skip to content

#ad2bab

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

RGB
173, 43, 171
HSL
301°, 60%, 42%
CMYK
0, 75, 1, 32
Luminance
0.1355

Every format

HEX#ad2bab
RGBrgb(173, 43, 171)
HSLhsl(301, 60%, 42%)
CMYKcmyk(0%, 75%, 1%, 32%)
LABlab(43.6 65.4 -40.3)
LCHlch(43.6 76.8 328.4)
OKLCHoklch(0.542 0.215 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2bab on white: 5.66:1
AA ✓ pass · AA-large · AAA
Aa
#ad2bab on black: 3.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green16.9%
Blue67.1%

CMYK percentages

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

Color previews

#ad2bab text on a black background

contrast 3.71:1

Card sample

#ad2bab text on a white background

contrast 5.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2bab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2bab in the Color Lab