Skip to content

#fc2ecb

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

RGB
252, 46, 203
HSL
314°, 97%, 58%
CMYK
0, 82, 19, 1
Luminance
0.2696

Every format

HEX#fc2ecb
RGBrgb(252, 46, 203)
HSLhsl(314, 97%, 58%)
CMYKcmyk(0%, 82%, 19%, 1%)
LABlab(58.9 85.7 -33.8)
LCHlch(58.9 92.1 338.5)
OKLCHoklch(0.682 0.272 340.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2ecb on white: 3.29:1
AA ✗ fail · AA-large · AAA
Aa
#fc2ecb on black: 6.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green18.0%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta81.7%
Yellow19.4%
Key (black)1.2%

Color previews

#fc2ecb text on a black background

contrast 6.39:1

Card sample

#fc2ecb text on a white background

contrast 3.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2ecb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2ecb in the Color Lab