Skip to content

#f0d2e9

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

RGB
240, 210, 233
HSL
314°, 50%, 88%
CMYK
0, 13, 3, 6
Luminance
0.7050

Every format

HEX#f0d2e9
RGBrgb(240, 210, 233)
HSLhsl(314, 50%, 88%)
CMYKcmyk(0%, 13%, 3%, 6%)
LABlab(87.2 14.3 -7.4)
LCHlch(87.2 16.1 332.5)
OKLCHoklch(0.895 0.045 334.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0d2e9 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#f0d2e9 on black: 15.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green82.4%
Blue91.4%

CMYK percentages

Cyan0.0%
Magenta12.5%
Yellow2.9%
Key (black)5.9%

Color previews

#f0d2e9 text on a black background

contrast 15.10:1

Card sample

#f0d2e9 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0d2e9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0d2e9 in the Color Lab