Skip to content

#f4bafe

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

RGB
244, 186, 254
HSL
291°, 97%, 86%
CMYK
4, 27, 0, 0
Luminance
0.6151

Every format

HEX#f4bafe
RGBrgb(244, 186, 254)
HSLhsl(291, 97%, 86%)
CMYKcmyk(4%, 27%, 0%, 0%)
LABlab(82.7 32.2 -25.5)
LCHlch(82.7 41.0 321.6)
OKLCHoklch(0.863 0.111 321.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4bafe on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#f4bafe on black: 13.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green72.9%
Blue99.6%

CMYK percentages

Cyan3.9%
Magenta26.8%
Yellow0.0%
Key (black)0.4%

Color previews

#f4bafe text on a black background

contrast 13.30:1

Card sample

#f4bafe text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4bafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4bafe in the Color Lab