Skip to content

#fd2fd8

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

RGB
253, 47, 216
HSL
311°, 98%, 59%
CMYK
0, 81, 15, 1
Luminance
0.2787

Every format

HEX#fd2fd8
RGBrgb(253, 47, 216)
HSLhsl(311, 98%, 59%)
CMYKcmyk(0%, 81%, 15%, 1%)
LABlab(59.8 87.3 -39.9)
LCHlch(59.8 96.0 335.4)
OKLCHoklch(0.691 0.280 337.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd2fd8 on white: 3.19:1
AA ✗ fail · AA-large · AAA
Aa
#fd2fd8 on black: 6.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green18.4%
Blue84.7%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow14.6%
Key (black)0.8%

Color previews

#fd2fd8 text on a black background

contrast 6.57:1

Card sample

#fd2fd8 text on a white background

contrast 3.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd2fd8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd2fd8 in the Color Lab