Skip to content

#feb2f2

a light, electric magenta / pink · warm · closest name: plum

RGB
254, 178, 242
HSL
310°, 97%, 85%
CMYK
0, 30, 5, 0
Luminance
0.5932

Every format

HEX#feb2f2
RGBrgb(254, 178, 242)
HSLhsl(310, 97%, 85%)
CMYKcmyk(0%, 30%, 5%, 0%)
LABlab(81.5 37.4 -20.8)
LCHlch(81.5 42.8 331.0)
OKLCHoklch(0.855 0.120 332.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#feb2f2 on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#feb2f2 on black: 12.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green69.8%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta29.9%
Yellow4.7%
Key (black)0.4%

Color previews

#feb2f2 text on a black background

contrast 12.86:1

Card sample

#feb2f2 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(254, 178, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 178, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #feb2f2;
background: linear-gradient(135deg, #feb2f2, #FEB2BF);

Monochromatic scale

Palettes built from #feb2f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feb2f2 in the Color Lab