Skip to content

#fd2af5

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

RGB
253, 42, 245
HSL
302°, 98%, 58%
CMYK
0, 83, 3, 1
Luminance
0.2913

Every format

HEX#fd2af5
RGBrgb(253, 42, 245)
HSLhsl(302, 98%, 58%)
CMYKcmyk(0%, 83%, 3%, 1%)
LABlab(60.9 92.2 -54.4)
LCHlch(60.9 107.0 329.5)
OKLCHoklch(0.703 0.301 330.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd2af5 on white: 3.08:1
AA ✗ fail · AA-large · AAA
Aa
#fd2af5 on black: 6.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green16.5%
Blue96.1%

CMYK percentages

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

Color previews

#fd2af5 text on a black background

contrast 6.83:1

Card sample

#fd2af5 text on a white background

contrast 3.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd2af5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd2af5 in the Color Lab