Skip to content

#fc0dfb

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

RGB
252, 13, 251
HSL
300°, 98%, 52%
CMYK
0, 95, 0, 1
Luminance
0.2795

Every format

HEX#fc0dfb
RGBrgb(252, 13, 251)
HSLhsl(300, 98%, 52%)
CMYKcmyk(0%, 95%, 0%, 1%)
LABlab(59.9 96.4 -59.4)
LCHlch(59.9 113.3 328.4)
OKLCHoklch(0.697 0.317 328.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc0dfb on white: 3.19:1
AA ✗ fail · AA-large · AAA
Aa
#fc0dfb on black: 6.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green5.1%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta94.8%
Yellow0.4%
Key (black)1.2%

Color previews

#fc0dfb text on a black background

contrast 6.59:1

Card sample

#fc0dfb text on a white background

contrast 3.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc0dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc0dfb in the Color Lab