Skip to content

#fc2ffd

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

RGB
252, 47, 253
HSL
300°, 98%, 59%
CMYK
0, 81, 0, 1
Luminance
0.2982

Every format

HEX#fc2ffd
RGBrgb(252, 47, 253)
HSLhsl(300, 98%, 59%)
CMYKcmyk(0%, 81%, 0%, 1%)
LABlab(61.5 92.2 -57.9)
LCHlch(61.5 108.8 327.9)
OKLCHoklch(0.709 0.303 328.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green18.4%
Blue99.2%

CMYK percentages

Cyan0.4%
Magenta81.4%
Yellow0.0%
Key (black)0.8%

Color previews

#fc2ffd text on a black background

contrast 6.96:1

Card sample

#fc2ffd text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2ffd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2ffd in the Color Lab