Skip to content

#fd4dfc

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

RGB
253, 77, 252
HSL
300°, 98%, 65%
CMYK
0, 70, 0, 1
Luminance
0.3322

Every format

HEX#fd4dfc
RGBrgb(253, 77, 252)
HSLhsl(300, 98%, 65%)
CMYKcmyk(0%, 70%, 0%, 1%)
LABlab(64.3 84.4 -52.8)
LCHlch(64.3 99.5 328.0)
OKLCHoklch(0.729 0.277 328.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd4dfc on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#fd4dfc on black: 7.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green30.2%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta69.6%
Yellow0.4%
Key (black)0.8%

Color previews

#fd4dfc text on a black background

contrast 7.64:1

Card sample

#fd4dfc text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd4dfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd4dfc in the Color Lab