Skip to content

#fb2cdf

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

RGB
251, 44, 223
HSL
308°, 96%, 58%
CMYK
0, 83, 11, 2
Luminance
0.2764

Every format

HEX#fb2cdf
RGBrgb(251, 44, 223)
HSLhsl(308, 96%, 58%)
CMYKcmyk(0%, 83%, 11%, 2%)
LABlab(59.6 88.4 -44.2)
LCHlch(59.6 98.8 333.4)
OKLCHoklch(0.690 0.285 334.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fb2cdf on white: 3.22:1
AA ✗ fail · AA-large · AAA
Aa
#fb2cdf on black: 6.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green17.3%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta82.5%
Yellow11.2%
Key (black)1.6%

Color previews

#fb2cdf text on a black background

contrast 6.53:1

Card sample

#fb2cdf text on a white background

contrast 3.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fb2cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fb2cdf in the Color Lab