Skip to content

#f2adf6

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

RGB
242, 173, 246
HSL
297°, 80%, 82%
CMYK
2, 30, 0, 4
Luminance
0.5542

Every format

HEX#f2adf6
RGBrgb(242, 173, 246)
HSLhsl(297, 80%, 82%)
CMYKcmyk(2%, 30%, 0%, 4%)
LABlab(79.3 36.9 -26.3)
LCHlch(79.3 45.4 324.5)
OKLCHoklch(0.836 0.124 324.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green67.8%
Blue96.5%

CMYK percentages

Cyan1.6%
Magenta29.7%
Yellow0.0%
Key (black)3.5%

Color previews

#f2adf6 text on a black background

contrast 12.08:1

Card sample

#f2adf6 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2adf6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2adf6 in the Color Lab