Skip to content

#fc0fec

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

RGB
252, 15, 236
HSL
304°, 98%, 52%
CMYK
0, 94, 6, 1
Luminance
0.2709

Every format

HEX#fc0fec
RGBrgb(252, 15, 236)
HSLhsl(304, 98%, 52%)
CMYKcmyk(0%, 94%, 6%, 1%)
LABlab(59.1 94.3 -52.3)
LCHlch(59.1 107.8 331.0)
OKLCHoklch(0.689 0.307 331.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc0fec on white: 3.27:1
AA ✗ fail · AA-large · AAA
Aa
#fc0fec on black: 6.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green5.9%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta94.0%
Yellow6.3%
Key (black)1.2%

Color previews

#fc0fec text on a black background

contrast 6.42:1

Card sample

#fc0fec text on a white background

contrast 3.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc0fec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc0fec in the Color Lab