Skip to content

#f4baf0

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

RGB
244, 186, 240
HSL
304°, 73%, 84%
CMYK
0, 24, 2, 4
Luminance
0.6064

Every format

HEX#f4baf0
RGBrgb(244, 186, 240)
HSLhsl(304, 73%, 84%)
CMYKcmyk(0%, 24%, 2%, 4%)
LABlab(82.2 29.6 -18.7)
LCHlch(82.2 35.0 327.7)
OKLCHoklch(0.858 0.097 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red95.7%
Green72.9%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta23.8%
Yellow1.6%
Key (black)4.3%

Color previews

#f4baf0 text on a black background

contrast 13.13:1

Card sample

#f4baf0 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4baf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4baf0 in the Color Lab