Skip to content

#fc5df6

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

RGB
252, 93, 246
HSL
302°, 96%, 68%
CMYK
0, 63, 2, 1
Luminance
0.3518

Every format

HEX#fc5df6
RGBrgb(252, 93, 246)
HSLhsl(302, 96%, 68%)
CMYKcmyk(0%, 63%, 2%, 1%)
LABlab(65.9 77.6 -47.0)
LCHlch(65.9 90.7 328.8)
OKLCHoklch(0.739 0.254 329.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc5df6 on white: 2.61:1
AA ✗ fail · AA-large · AAA
Aa
#fc5df6 on black: 8.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green36.5%
Blue96.5%

CMYK percentages

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

Color previews

#fc5df6 text on a black background

contrast 8.04:1

Card sample

#fc5df6 text on a white background

contrast 2.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc5df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc5df6 in the Color Lab