Skip to content

#ad2cab

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

RGB
173, 44, 171
HSL
301°, 59%, 43%
CMYK
0, 75, 1, 32
Luminance
0.1363

Every format

HEX#ad2cab
RGBrgb(173, 44, 171)
HSLhsl(301, 59%, 43%)
CMYKcmyk(0%, 75%, 1%, 32%)
LABlab(43.7 65.1 -40.1)
LCHlch(43.7 76.5 328.4)
OKLCHoklch(0.543 0.214 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2cab on white: 5.64:1
AA ✓ pass · AA-large · AAA
Aa
#ad2cab on black: 3.73:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green17.3%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta74.6%
Yellow1.2%
Key (black)32.2%

Color previews

#ad2cab text on a black background

contrast 3.73:1

Card sample

#ad2cab text on a white background

contrast 5.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2cab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2cab in the Color Lab