Skip to content

#fc4fdf

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

RGB
252, 79, 223
HSL
310°, 97%, 65%
CMYK
0, 69, 12, 1
Luminance
0.3162

Every format

HEX#fc4fdf
RGBrgb(252, 79, 223)
HSLhsl(310, 97%, 65%)
CMYKcmyk(0%, 69%, 12%, 1%)
LABlab(63.0 79.2 -38.7)
LCHlch(63.0 88.2 333.9)
OKLCHoklch(0.715 0.254 335.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc4fdf on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#fc4fdf on black: 7.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green31.0%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta68.7%
Yellow11.5%
Key (black)1.2%

Color previews

#fc4fdf text on a black background

contrast 7.32:1

Card sample

#fc4fdf text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc4fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc4fdf in the Color Lab