Skip to content

#f4baf3

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

RGB
244, 186, 243
HSL
301°, 73%, 84%
CMYK
0, 24, 0, 4
Luminance
0.6082

Every format

HEX#f4baf3
RGBrgb(244, 186, 243)
HSLhsl(301, 73%, 84%)
CMYKcmyk(0%, 24%, 0%, 4%)
LABlab(82.3 30.1 -20.1)
LCHlch(82.3 36.3 326.2)
OKLCHoklch(0.859 0.100 327.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4baf3 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#f4baf3 on black: 13.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#f4baf3 text on a black background

contrast 13.16:1

Card sample

#f4baf3 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4baf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4baf3 in the Color Lab