Skip to content

#fc5fdf

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

RGB
252, 95, 223
HSL
311°, 96%, 68%
CMYK
0, 62, 12, 1
Luminance
0.3421

Every format

HEX#fc5fdf
RGBrgb(252, 95, 223)
HSLhsl(311, 96%, 68%)
CMYKcmyk(0%, 62%, 12%, 1%)
LABlab(65.1 73.3 -35.5)
LCHlch(65.1 81.4 334.2)
OKLCHoklch(0.730 0.235 335.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc5fdf on white: 2.68:1
AA ✗ fail · AA-large · AAA
Aa
#fc5fdf on black: 7.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green37.3%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta62.3%
Yellow11.5%
Key (black)1.2%

Color previews

#fc5fdf text on a black background

contrast 7.84:1

Card sample

#fc5fdf text on a white background

contrast 2.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc5fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc5fdf in the Color Lab