Skip to content

#fc5dfb

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

RGB
252, 93, 251
HSL
300°, 96%, 68%
CMYK
0, 63, 0, 1
Luminance
0.3549

Every format

HEX#fc5dfb
RGBrgb(252, 93, 251)
HSLhsl(300, 96%, 68%)
CMYKcmyk(0%, 63%, 0%, 1%)
LABlab(66.1 78.4 -49.4)
LCHlch(66.1 92.7 327.8)
OKLCHoklch(0.742 0.258 328.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc5dfb on white: 2.59:1
AA ✗ fail · AA-large · AAA
Aa
#fc5dfb on black: 8.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green36.5%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta63.1%
Yellow0.4%
Key (black)1.2%

Color previews

#fc5dfb text on a black background

contrast 8.10:1

Card sample

#fc5dfb text on a white background

contrast 2.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc5dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc5dfb in the Color Lab