Skip to content

#fd2ad5

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

RGB
253, 42, 213
HSL
311°, 98%, 58%
CMYK
0, 83, 16, 1
Luminance
0.2734

Every format

HEX#fd2ad5
RGBrgb(253, 42, 213)
HSLhsl(311, 98%, 58%)
CMYKcmyk(0%, 83%, 16%, 1%)
LABlab(59.3 87.9 -38.9)
LCHlch(59.3 96.1 336.1)
OKLCHoklch(0.687 0.281 337.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd2ad5 on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#fd2ad5 on black: 6.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green16.5%
Blue83.5%

CMYK percentages

Cyan0.0%
Magenta83.4%
Yellow15.8%
Key (black)0.8%

Color previews

#fd2ad5 text on a black background

contrast 6.47:1

Card sample

#fd2ad5 text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd2ad5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd2ad5 in the Color Lab