Skip to content

#fd2dfb

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

RGB
253, 45, 251
HSL
301°, 98%, 58%
CMYK
0, 82, 1, 1
Luminance
0.2972

Every format

HEX#fd2dfb
RGBrgb(253, 45, 251)
HSLhsl(301, 98%, 58%)
CMYKcmyk(0%, 82%, 1%, 1%)
LABlab(61.4 92.5 -56.9)
LCHlch(61.4 108.6 328.4)
OKLCHoklch(0.708 0.303 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd2dfb on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#fd2dfb on black: 6.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green17.6%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta82.2%
Yellow0.8%
Key (black)0.8%

Color previews

#fd2dfb text on a black background

contrast 6.94:1

Card sample

#fd2dfb text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd2dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd2dfb in the Color Lab