Skip to content

#ad2f6e

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

RGB
173, 47, 110
HSL
330°, 57%, 43%
CMYK
0, 73, 36, 32
Luminance
0.1204

Every format

HEX#ad2f6e
RGBrgb(173, 47, 110)
HSLhsl(330, 57%, 43%)
CMYKcmyk(0%, 73%, 36%, 32%)
LABlab(41.3 55.6 -6.7)
LCHlch(41.3 56.0 353.1)
OKLCHoklch(0.516 0.172 354.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2f6e on white: 6.16:1
AA ✓ pass · AA-large · AAA
Aa
#ad2f6e on black: 3.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green18.4%
Blue43.1%

CMYK percentages

Cyan0.0%
Magenta72.8%
Yellow36.4%
Key (black)32.2%

Color previews

#ad2f6e text on a black background

contrast 3.41:1

Card sample

#ad2f6e text on a white background

contrast 6.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2f6e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2f6e in the Color Lab