Skip to content

#fc0df9

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

RGB
252, 13, 249
HSL
301°, 98%, 52%
CMYK
0, 95, 1, 1
Luminance
0.2782

Every format

HEX#fc0df9
RGBrgb(252, 13, 249)
HSLhsl(301, 98%, 52%)
CMYKcmyk(0%, 95%, 1%, 1%)
LABlab(59.7 96.2 -58.5)
LCHlch(59.7 112.5 328.7)
OKLCHoklch(0.696 0.315 329.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc0df9 on white: 3.20:1
AA ✗ fail · AA-large · AAA
Aa
#fc0df9 on black: 6.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green5.1%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta94.8%
Yellow1.2%
Key (black)1.2%

Color previews

#fc0df9 text on a black background

contrast 6.56:1

Card sample

#fc0df9 text on a white background

contrast 3.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc0df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc0df9 in the Color Lab