Skip to content

#f0a2db

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

RGB
240, 162, 219
HSL
316°, 72%, 79%
CMYK
0, 33, 9, 6
Luminance
0.4948

Every format

HEX#f0a2db
RGBrgb(240, 162, 219)
HSLhsl(316, 72%, 79%)
CMYKcmyk(0%, 33%, 9%, 6%)
LABlab(75.8 37.3 -17.1)
LCHlch(75.8 41.0 335.4)
OKLCHoklch(0.806 0.117 337.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0a2db on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#f0a2db on black: 10.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green63.5%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta32.5%
Yellow8.8%
Key (black)5.9%

Color previews

#f0a2db text on a black background

contrast 10.90:1

Card sample

#f0a2db text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0a2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0a2db in the Color Lab