Skip to content

#ad3daf

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

RGB
173, 61, 175
HSL
299°, 48%, 46%
CMYK
1, 65, 0, 31
Luminance
0.1532

Every format

HEX#ad3daf
RGBrgb(173, 61, 175)
HSLhsl(299, 48%, 46%)
CMYKcmyk(1%, 65%, 0%, 31%)
LABlab(46.1 59.7 -38.7)
LCHlch(46.1 71.1 327.0)
OKLCHoklch(0.561 0.197 327.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad3daf on white: 5.17:1
AA ✓ pass · AA-large · AAA
Aa
#ad3daf on black: 4.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green23.9%
Blue68.6%

CMYK percentages

Cyan1.1%
Magenta65.1%
Yellow0.0%
Key (black)31.4%

Color previews

#ad3daf text on a black background

contrast 4.06:1

Card sample

#ad3daf text on a white background

contrast 5.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad3daf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad3daf in the Color Lab