Skip to content

#f9b2f4

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

RGB
249, 178, 244
HSL
304°, 86%, 84%
CMYK
0, 29, 2, 2
Luminance
0.5851

Every format

HEX#f9b2f4
RGBrgb(249, 178, 244)
HSLhsl(304, 86%, 84%)
CMYKcmyk(0%, 29%, 2%, 2%)
LABlab(81.0 36.1 -22.6)
LCHlch(81.0 42.6 328.0)
OKLCHoklch(0.851 0.118 329.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9b2f4 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#f9b2f4 on black: 12.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green69.8%
Blue95.7%

CMYK percentages

Cyan0.0%
Magenta28.5%
Yellow2.0%
Key (black)2.4%

Color previews

#f9b2f4 text on a black background

contrast 12.70:1

Card sample

#f9b2f4 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9b2f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9b2f4 in the Color Lab