Skip to content

#fc1dfd

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

RGB
252, 29, 253
HSL
300°, 98%, 55%
CMYK
0, 89, 0, 1
Luminance
0.2867

Every format

HEX#fc1dfd
RGBrgb(252, 29, 253)
HSLhsl(300, 98%, 55%)
CMYKcmyk(0%, 89%, 0%, 1%)
LABlab(60.5 95.2 -59.5)
LCHlch(60.5 112.2 328.0)
OKLCHoklch(0.702 0.313 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green11.4%
Blue99.2%

CMYK percentages

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

Color previews

#fc1dfd text on a black background

contrast 6.73:1

Card sample

#fc1dfd text on a white background

contrast 3.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc1dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc1dfd in the Color Lab