Skip to content

#fd2fe5

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

RGB
253, 47, 229
HSL
307°, 98%, 59%
CMYK
0, 81, 10, 1
Luminance
0.2857

Every format

HEX#fd2fe5
RGBrgb(253, 47, 229)
HSLhsl(307, 98%, 59%)
CMYKcmyk(0%, 81%, 10%, 1%)
LABlab(60.4 89.0 -46.2)
LCHlch(60.4 100.3 332.6)
OKLCHoklch(0.697 0.288 333.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd2fe5 on white: 3.13:1
AA ✗ fail · AA-large · AAA
Aa
#fd2fe5 on black: 6.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green18.4%
Blue89.8%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow9.5%
Key (black)0.8%

Color previews

#fd2fe5 text on a black background

contrast 6.71:1

Card sample

#fd2fe5 text on a white background

contrast 3.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd2fe5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd2fe5 in the Color Lab