Skip to content

#fc4cf2

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

RGB
252, 76, 242
HSL
303°, 97%, 64%
CMYK
0, 70, 4, 1
Luminance
0.3228

Every format

HEX#fc4cf2
RGBrgb(252, 76, 242)
HSLhsl(303, 97%, 64%)
CMYKcmyk(0%, 70%, 4%, 1%)
LABlab(63.6 82.9 -48.5)
LCHlch(63.6 96.1 329.7)
OKLCHoklch(0.722 0.271 330.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc4cf2 on white: 2.82:1
AA ✗ fail · AA-large · AAA
Aa
#fc4cf2 on black: 7.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green29.8%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta69.8%
Yellow4.0%
Key (black)1.2%

Color previews

#fc4cf2 text on a black background

contrast 7.46:1

Card sample

#fc4cf2 text on a white background

contrast 2.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc4cf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc4cf2 in the Color Lab