Skip to content

#fc5ddf

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

RGB
252, 93, 223
HSL
311°, 96%, 68%
CMYK
0, 63, 12, 1
Luminance
0.3385

Every format

HEX#fc5ddf
RGBrgb(252, 93, 223)
HSLhsl(311, 96%, 68%)
CMYKcmyk(0%, 63%, 12%, 1%)
LABlab(64.8 74.1 -35.9)
LCHlch(64.8 82.3 334.1)
OKLCHoklch(0.728 0.237 335.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc5ddf on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#fc5ddf on black: 7.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green36.5%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta63.1%
Yellow11.5%
Key (black)1.2%

Color previews

#fc5ddf text on a black background

contrast 7.77:1

Card sample

#fc5ddf text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc5ddf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc5ddf in the Color Lab