Skip to content

#f4bafc

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

RGB
244, 186, 252
HSL
293°, 92%, 86%
CMYK
3, 26, 0, 1
Luminance
0.6138

Every format

HEX#f4bafc
RGBrgb(244, 186, 252)
HSLhsl(293, 92%, 86%)
CMYKcmyk(3%, 26%, 0%, 1%)
LABlab(82.6 31.8 -24.5)
LCHlch(82.6 40.1 322.4)
OKLCHoklch(0.862 0.109 322.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red95.7%
Green72.9%
Blue98.8%

CMYK percentages

Cyan3.2%
Magenta26.2%
Yellow0.0%
Key (black)1.2%

Color previews

#f4bafc text on a black background

contrast 13.28:1

Card sample

#f4bafc text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4bafc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4bafc in the Color Lab