Skip to content

#f2aeee

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

RGB
242, 174, 238
HSL
304°, 72%, 82%
CMYK
0, 28, 2, 5
Luminance
0.5532

Every format

HEX#f2aeee
RGBrgb(242, 174, 238)
HSLhsl(304, 72%, 82%)
CMYKcmyk(0%, 28%, 2%, 5%)
LABlab(79.2 34.9 -22.1)
LCHlch(79.2 41.3 327.7)
OKLCHoklch(0.835 0.114 328.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2aeee on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#f2aeee on black: 12.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green68.2%
Blue93.3%

CMYK percentages

Cyan0.0%
Magenta28.1%
Yellow1.7%
Key (black)5.1%

Color previews

#f2aeee text on a black background

contrast 12.06:1

Card sample

#f2aeee text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(242, 174, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 174, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2aeee;
background: linear-gradient(135deg, #f2aeee, #F2AEC1);

Monochromatic scale

Palettes built from #f2aeee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2aeee in the Color Lab