Skip to content

#fc0dfd

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

RGB
252, 13, 253
HSL
300°, 98%, 52%
CMYK
0, 95, 0, 1
Luminance
0.2808

Every format

HEX#fc0dfd
RGBrgb(252, 13, 253)
HSLhsl(300, 98%, 52%)
CMYKcmyk(0%, 95%, 0%, 1%)
LABlab(60.0 96.7 -60.3)
LCHlch(60.0 114.0 328.0)
OKLCHoklch(0.698 0.318 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc0dfd on white: 3.17:1
AA ✗ fail · AA-large · AAA
Aa
#fc0dfd on black: 6.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green5.1%
Blue99.2%

CMYK percentages

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

Color previews

#fc0dfd text on a black background

contrast 6.62:1

Card sample

#fc0dfd text on a white background

contrast 3.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc0dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc0dfd in the Color Lab