Skip to content

#f2adf0

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

RGB
242, 173, 240
HSL
302°, 73%, 81%
CMYK
0, 29, 1, 5
Luminance
0.5506

Every format

HEX#f2adf0
RGBrgb(242, 173, 240)
HSLhsl(302, 73%, 81%)
CMYKcmyk(0%, 29%, 1%, 5%)
LABlab(79.1 35.8 -23.4)
LCHlch(79.1 42.8 326.8)
OKLCHoklch(0.834 0.118 327.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2adf0 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#f2adf0 on black: 12.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green67.8%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta28.5%
Yellow0.8%
Key (black)5.1%

Color previews

#f2adf0 text on a black background

contrast 12.01:1

Card sample

#f2adf0 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2adf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2adf0 in the Color Lab