Skip to content

#fc2ceb

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

RGB
252, 44, 235
HSL
305°, 97%, 58%
CMYK
0, 83, 7, 1
Luminance
0.2849

Every format

HEX#fc2ceb
RGBrgb(252, 44, 235)
HSLhsl(305, 97%, 58%)
CMYKcmyk(0%, 83%, 7%, 1%)
LABlab(60.3 90.2 -49.7)
LCHlch(60.3 103.0 331.2)
OKLCHoklch(0.697 0.293 332.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2ceb on white: 3.13:1
AA ✗ fail · AA-large · AAA
Aa
#fc2ceb on black: 6.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green17.3%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta82.5%
Yellow6.7%
Key (black)1.2%

Color previews

#fc2ceb text on a black background

contrast 6.70:1

Card sample

#fc2ceb text on a white background

contrast 3.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2ceb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2ceb in the Color Lab