Skip to content

#f5cef6

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

RGB
245, 206, 246
HSL
299°, 69%, 89%
CMYK
0, 16, 0, 4
Luminance
0.7021

Every format

HEX#f5cef6
RGBrgb(245, 206, 246)
HSLhsl(299, 69%, 89%)
CMYKcmyk(0%, 16%, 0%, 4%)
LABlab(87.1 20.4 -14.5)
LCHlch(87.1 25.0 324.6)
OKLCHoklch(0.897 0.068 325.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5cef6 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#f5cef6 on black: 15.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green80.8%
Blue96.5%

CMYK percentages

Cyan0.4%
Magenta16.3%
Yellow0.0%
Key (black)3.5%

Color previews

#f5cef6 text on a black background

contrast 15.04:1

Card sample

#f5cef6 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(245, 206, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(245, 206, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f5cef6;
background: linear-gradient(135deg, #f5cef6, #F6CEDC);

Monochromatic scale

Palettes built from #f5cef6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5cef6 in the Color Lab