Skip to content

#f0aaeb

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

RGB
240, 170, 235
HSL
304°, 70%, 80%
CMYK
0, 29, 2, 6
Luminance
0.5327

Every format

HEX#f0aaeb
RGBrgb(240, 170, 235)
HSLhsl(304, 70%, 80%)
CMYKcmyk(0%, 29%, 2%, 6%)
LABlab(78.0 35.9 -22.3)
LCHlch(78.0 42.3 328.1)
OKLCHoklch(0.825 0.117 329.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0aaeb on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#f0aaeb on black: 11.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green66.7%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta29.2%
Yellow2.1%
Key (black)5.9%

Color previews

#f0aaeb text on a black background

contrast 11.65:1

Card sample

#f0aaeb text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0aaeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0aaeb in the Color Lab