Skip to content

#f0a2cf

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

RGB
240, 162, 207
HSL
325°, 72%, 79%
CMYK
0, 33, 14, 6
Luminance
0.4887

Every format

HEX#f0a2cf
RGBrgb(240, 162, 207)
HSLhsl(325, 72%, 79%)
CMYKcmyk(0%, 33%, 14%, 6%)
LABlab(75.4 35.4 -11.1)
LCHlch(75.4 37.0 342.6)
OKLCHoklch(0.801 0.108 344.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0a2cf on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#f0a2cf on black: 10.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green63.5%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta32.5%
Yellow13.7%
Key (black)5.9%

Color previews

#f0a2cf text on a black background

contrast 10.77:1

Card sample

#f0a2cf text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0a2cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0a2cf in the Color Lab