Skip to content

#fc1cfd

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

RGB
252, 28, 253
HSL
300°, 98%, 55%
CMYK
0, 89, 0, 1
Luminance
0.2862

Every format

HEX#fc1cfd
RGBrgb(252, 28, 253)
HSLhsl(300, 98%, 55%)
CMYKcmyk(0%, 89%, 0%, 1%)
LABlab(60.5 95.3 -59.5)
LCHlch(60.5 112.4 328.0)
OKLCHoklch(0.701 0.313 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc1cfd on white: 3.12:1
AA ✗ fail · AA-large · AAA
Aa
#fc1cfd on black: 6.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green11.0%
Blue99.2%

CMYK percentages

Cyan0.4%
Magenta88.9%
Yellow0.0%
Key (black)0.8%

Color previews

#fc1cfd text on a black background

contrast 6.72:1

Card sample

#fc1cfd text on a white background

contrast 3.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc1cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc1cfd in the Color Lab