Skip to content

#fc5cfd

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

RGB
252, 92, 253
HSL
300°, 98%, 68%
CMYK
0, 64, 0, 1
Luminance
0.3544

Every format

HEX#fc5cfd
RGBrgb(252, 92, 253)
HSLhsl(300, 98%, 68%)
CMYKcmyk(0%, 64%, 0%, 1%)
LABlab(66.1 79.1 -50.6)
LCHlch(66.1 93.9 327.4)
OKLCHoklch(0.742 0.261 327.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc5cfd on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#fc5cfd on black: 8.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green36.1%
Blue99.2%

CMYK percentages

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

Color previews

#fc5cfd text on a black background

contrast 8.09:1

Card sample

#fc5cfd text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc5cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc5cfd in the Color Lab