Skip to content

#fc2f89

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

RGB
252, 47, 137
HSL
334°, 97%, 59%
CMYK
0, 81, 46, 1
Luminance
0.2453

Every format

HEX#fc2f89
RGBrgb(252, 47, 137)
HSLhsl(334, 97%, 59%)
CMYKcmyk(0%, 81%, 46%, 1%)
LABlab(56.6 78.6 1.1)
LCHlch(56.6 78.6 0.8)
OKLCHoklch(0.658 0.242 0.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2f89 on white: 3.56:1
AA ✗ fail · AA-large · AAA
Aa
#fc2f89 on black: 5.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green18.4%
Blue53.7%

CMYK percentages

Cyan0.0%
Magenta81.3%
Yellow45.6%
Key (black)1.2%

Color previews

#fc2f89 text on a black background

contrast 5.91:1

Card sample

#fc2f89 text on a white background

contrast 3.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2f89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2f89 in the Color Lab