Skip to content

#fb2cd2

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

RGB
251, 44, 210
HSL
312°, 96%, 58%
CMYK
0, 83, 16, 2
Luminance
0.2696

Every format

HEX#fb2cd2
RGBrgb(251, 44, 210)
HSLhsl(312, 96%, 58%)
CMYKcmyk(0%, 83%, 16%, 2%)
LABlab(59.0 86.7 -37.8)
LCHlch(59.0 94.6 336.5)
OKLCHoklch(0.683 0.277 338.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.4%
Green17.3%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta82.5%
Yellow16.3%
Key (black)1.6%

Color previews

#fb2cd2 text on a black background

contrast 6.39:1

Card sample

#fb2cd2 text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fb2cd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fb2cd2 in the Color Lab