Skip to content

#f4baf4

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

RGB
244, 186, 244
HSL
300°, 73%, 84%
CMYK
0, 24, 0, 4
Luminance
0.6088

Every format

HEX#f4baf4
RGBrgb(244, 186, 244)
HSLhsl(300, 73%, 84%)
CMYKcmyk(0%, 24%, 0%, 4%)
LABlab(82.3 30.3 -20.6)
LCHlch(82.3 36.7 325.7)
OKLCHoklch(0.859 0.101 326.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4baf4 on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#f4baf4 on black: 13.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green72.9%
Blue95.7%

CMYK percentages

Cyan0.0%
Magenta23.8%
Yellow0.0%
Key (black)4.3%

Color previews

#f4baf4 text on a black background

contrast 13.18:1

Card sample

#f4baf4 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4baf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4baf4 in the Color Lab