Skip to content

#fc1dfb

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

RGB
252, 29, 251
HSL
300°, 97%, 55%
CMYK
0, 89, 0, 1
Luminance
0.2854

Every format

HEX#fc1dfb
RGBrgb(252, 29, 251)
HSLhsl(300, 97%, 55%)
CMYKcmyk(0%, 89%, 0%, 1%)
LABlab(60.4 94.9 -58.5)
LCHlch(60.4 111.5 328.3)
OKLCHoklch(0.700 0.311 328.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc1dfb on white: 3.13:1
AA ✗ fail · AA-large · AAA
Aa
#fc1dfb on black: 6.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green11.4%
Blue98.4%

CMYK percentages

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

Color previews

#fc1dfb text on a black background

contrast 6.71:1

Card sample

#fc1dfb text on a white background

contrast 3.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc1dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc1dfb in the Color Lab