Skip to content

#f0d2db

a pale, vivid magenta / pink · warm · closest name: lavender

RGB
240, 210, 219
HSL
342°, 50%, 88%
CMYK
0, 13, 9, 6
Luminance
0.6973

Every format

HEX#f0d2db
RGBrgb(240, 210, 219)
HSLhsl(342, 50%, 88%)
CMYKcmyk(0%, 13%, 9%, 6%)
LABlab(86.9 11.9 -0.6)
LCHlch(86.9 11.9 357.2)
OKLCHoklch(0.891 0.035 357.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0d2db on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#f0d2db on black: 14.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green82.4%
Blue85.9%

CMYK percentages

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

Color previews

#f0d2db text on a black background

contrast 14.95:1

Card sample

#f0d2db text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0d2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0d2db in the Color Lab