Skip to content

#fd2af9

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

RGB
253, 42, 249
HSL
301°, 98%, 58%
CMYK
0, 83, 2, 1
Luminance
0.2938

Every format

HEX#fd2af9
RGBrgb(253, 42, 249)
HSLhsl(301, 98%, 58%)
CMYKcmyk(0%, 83%, 2%, 1%)
LABlab(61.1 92.8 -56.3)
LCHlch(61.1 108.5 328.8)
OKLCHoklch(0.706 0.304 329.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd2af9 on white: 3.05:1
AA ✗ fail · AA-large · AAA
Aa
#fd2af9 on black: 6.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green16.5%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta83.4%
Yellow1.6%
Key (black)0.8%

Color previews

#fd2af9 text on a black background

contrast 6.88:1

Card sample

#fd2af9 text on a white background

contrast 3.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd2af9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd2af9 in the Color Lab