Skip to content

#fd2cef

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

RGB
253, 44, 239
HSL
304°, 98%, 58%
CMYK
0, 83, 6, 1
Luminance
0.2892

Every format

HEX#fd2cef
RGBrgb(253, 44, 239)
HSLhsl(304, 98%, 58%)
CMYKcmyk(0%, 83%, 6%, 1%)
LABlab(60.7 91.0 -51.3)
LCHlch(60.7 104.5 330.6)
OKLCHoklch(0.701 0.296 331.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd2cef on white: 3.10:1
AA ✗ fail · AA-large · AAA
Aa
#fd2cef on black: 6.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green17.3%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta82.6%
Yellow5.5%
Key (black)0.8%

Color previews

#fd2cef text on a black background

contrast 6.78:1

Card sample

#fd2cef text on a white background

contrast 3.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd2cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd2cef in the Color Lab