Skip to content

#fc4dfb

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

RGB
252, 77, 251
HSL
300°, 97%, 65%
CMYK
0, 69, 0, 1
Luminance
0.3297

Every format

HEX#fc4dfb
RGBrgb(252, 77, 251)
HSLhsl(300, 97%, 65%)
CMYKcmyk(0%, 69%, 0%, 1%)
LABlab(64.1 84.0 -52.6)
LCHlch(64.1 99.1 328.0)
OKLCHoklch(0.727 0.276 328.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc4dfb on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#fc4dfb on black: 7.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green30.2%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta69.4%
Yellow0.4%
Key (black)1.2%

Color previews

#fc4dfb text on a black background

contrast 7.59:1

Card sample

#fc4dfb text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc4dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc4dfb in the Color Lab