Skip to content

#fd0cfd

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

RGB
253, 12, 253
HSL
300°, 98%, 52%
CMYK
0, 95, 0, 1
Luminance
0.2824

Every format

HEX#fd0cfd
RGBrgb(253, 12, 253)
HSLhsl(300, 98%, 52%)
CMYKcmyk(0%, 95%, 0%, 1%)
LABlab(60.1 97.0 -60.1)
LCHlch(60.1 114.1 328.2)
OKLCHoklch(0.699 0.318 328.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd0cfd on white: 3.16:1
AA ✗ fail · AA-large · AAA
Aa
#fd0cfd on black: 6.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green4.7%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta95.3%
Yellow0.0%
Key (black)0.8%

Color previews

#fd0cfd text on a black background

contrast 6.65:1

Card sample

#fd0cfd text on a white background

contrast 3.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd0cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd0cfd in the Color Lab