Skip to content

#f7b2f4

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

RGB
247, 178, 244
HSL
303°, 81%, 83%
CMYK
0, 28, 1, 3
Luminance
0.5815

Every format

HEX#f7b2f4
RGBrgb(247, 178, 244)
HSLhsl(303, 81%, 83%)
CMYKcmyk(0%, 28%, 1%, 3%)
LABlab(80.8 35.5 -22.9)
LCHlch(80.8 42.2 327.2)
OKLCHoklch(0.849 0.117 328.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7b2f4 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#f7b2f4 on black: 12.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green69.8%
Blue95.7%

CMYK percentages

Cyan0.0%
Magenta27.9%
Yellow1.2%
Key (black)3.1%

Color previews

#f7b2f4 text on a black background

contrast 12.63:1

Card sample

#f7b2f4 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7b2f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7b2f4 in the Color Lab