Skip to content

#f2a2df

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

RGB
242, 162, 223
HSL
314°, 76%, 79%
CMYK
0, 33, 8, 5
Luminance
0.5005

Every format

HEX#f2a2df
RGBrgb(242, 162, 223)
HSLhsl(314, 76%, 79%)
CMYKcmyk(0%, 33%, 8%, 5%)
LABlab(76.1 38.6 -18.7)
LCHlch(76.1 42.9 334.1)
OKLCHoklch(0.809 0.122 335.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2a2df on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#f2a2df on black: 11.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green63.5%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta33.1%
Yellow7.9%
Key (black)5.1%

Color previews

#f2a2df text on a black background

contrast 11.01:1

Card sample

#f2a2df text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2a2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2a2df in the Color Lab