Skip to content

#ad2fc2

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

RGB
173, 47, 194
HSL
291°, 61%, 47%
CMYK
11, 76, 0, 24
Luminance
0.1481

Every format

HEX#ad2fc2
RGBrgb(173, 47, 194)
HSLhsl(291, 61%, 47%)
CMYKcmyk(11%, 76%, 0%, 24%)
LABlab(45.4 68.1 -50.9)
LCHlch(45.4 85.0 323.2)
OKLCHoklch(0.559 0.229 321.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2fc2 on white: 5.30:1
AA ✓ pass · AA-large · AAA
Aa
#ad2fc2 on black: 3.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green18.4%
Blue76.1%

CMYK percentages

Cyan10.8%
Magenta75.8%
Yellow0.0%
Key (black)23.9%

Color previews

#ad2fc2 text on a black background

contrast 3.96:1

Card sample

#ad2fc2 text on a white background

contrast 5.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2fc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2fc2 in the Color Lab