Skip to content

#fd02fc

a balanced, electric magenta / pink · warm · “magenta”

RGB
253, 2, 252
HSL
300°, 98%, 50%
CMYK
0, 99, 0, 1
Luminance
0.2795

Every format

HEX#fd02fc
RGBrgb(253, 2, 252)
HSLhsl(300, 98%, 50%)
CMYKcmyk(0%, 99%, 0%, 1%)
LABlab(59.9 97.4 -59.9)
LCHlch(59.9 114.4 328.4)
OKLCHoklch(0.697 0.320 328.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd02fc on white: 3.19:1
AA ✗ fail · AA-large · AAA
Aa
#fd02fc on black: 6.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green0.8%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta99.2%
Yellow0.4%
Key (black)0.8%

Color previews

#fd02fc text on a black background

contrast 6.59:1

Card sample

#fd02fc text on a white background

contrast 3.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd02fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd02fc in the Color Lab