Skip to content

#fd2ad9

a balanced, electric magenta / pink · warm · closest name: magenta

RGB
253, 42, 217
HSL
310°, 98%, 58%
CMYK
0, 83, 14, 1
Luminance
0.2755

Every format

HEX#fd2ad9
RGBrgb(253, 42, 217)
HSLhsl(310, 98%, 58%)
CMYKcmyk(0%, 83%, 14%, 1%)
LABlab(59.5 88.4 -40.9)
LCHlch(59.5 97.4 335.2)
OKLCHoklch(0.689 0.284 336.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd2ad9 on white: 3.23:1
AA ✗ fail · AA-large · AAA
Aa
#fd2ad9 on black: 6.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green16.5%
Blue85.1%

CMYK percentages

Cyan0.0%
Magenta83.4%
Yellow14.2%
Key (black)0.8%

Color previews

#fd2ad9 text on a black background

contrast 6.51:1

Card sample

#fd2ad9 text on a white background

contrast 3.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 42, 217, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 42, 217, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fd2ad9;
background: linear-gradient(135deg, #fd2ad9, #FD2A4C);

Monochromatic scale

Palettes built from #fd2ad9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd2ad9 in the Color Lab