Skip to content

#fd0ccf

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

RGB
253, 12, 207
HSL
312°, 98%, 52%
CMYK
0, 95, 18, 1
Luminance
0.2565

Every format

HEX#fd0ccf
RGBrgb(253, 12, 207)
HSLhsl(312, 98%, 52%)
CMYKcmyk(0%, 95%, 18%, 1%)
LABlab(57.7 91.0 -38.0)
LCHlch(57.7 98.6 337.3)
OKLCHoklch(0.674 0.291 339.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd0ccf on white: 3.43:1
AA ✗ fail · AA-large · AAA
Aa
#fd0ccf on black: 6.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green4.7%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta95.3%
Yellow18.2%
Key (black)0.8%

Color previews

#fd0ccf text on a black background

contrast 6.13:1

Card sample

#fd0ccf text on a white background

contrast 3.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd0ccf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd0ccf in the Color Lab