Skip to content

#fb2ccc

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

RGB
251, 44, 204
HSL
314°, 96%, 58%
CMYK
0, 83, 19, 2
Luminance
0.2667

Every format

HEX#fb2ccc
RGBrgb(251, 44, 204)
HSLhsl(314, 96%, 58%)
CMYKcmyk(0%, 83%, 19%, 2%)
LABlab(58.7 86.0 -34.8)
LCHlch(58.7 92.8 338.0)
OKLCHoklch(0.680 0.274 339.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fb2ccc on white: 3.32:1
AA ✗ fail · AA-large · AAA
Aa
#fb2ccc on black: 6.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green17.3%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta82.5%
Yellow18.7%
Key (black)1.6%

Color previews

#fb2ccc text on a black background

contrast 6.33:1

Card sample

#fb2ccc text on a white background

contrast 3.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fb2ccc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fb2ccc in the Color Lab