Skip to content

#fc0cfd

a balanced, electric magenta / pink · warm · “magenta”

RGB
252, 12, 253
HSL
300°, 98%, 52%
CMYK
0, 95, 0, 1
Luminance
0.2805

Every format

HEX#fc0cfd
RGBrgb(252, 12, 253)
HSLhsl(300, 98%, 52%)
CMYKcmyk(0%, 95%, 0%, 1%)
LABlab(59.9 96.8 -60.4)
LCHlch(59.9 114.1 328.1)
OKLCHoklch(0.698 0.318 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc0cfd on white: 3.18:1
AA ✗ fail · AA-large · AAA
Aa
#fc0cfd on black: 6.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green4.7%
Blue99.2%

CMYK percentages

Cyan0.4%
Magenta95.3%
Yellow0.0%
Key (black)0.8%

Color previews

#fc0cfd text on a black background

contrast 6.61:1

Card sample

#fc0cfd text on a white background

contrast 3.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc0cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc0cfd in the Color Lab