Skip to content

#f2cbef

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

RGB
242, 203, 239
HSL
305°, 60%, 87%
CMYK
0, 16, 1, 5
Luminance
0.6782

Every format

HEX#f2cbef
RGBrgb(242, 203, 239)
HSLhsl(305, 60%, 87%)
CMYKcmyk(0%, 16%, 1%, 5%)
LABlab(85.9 19.8 -12.6)
LCHlch(85.9 23.4 327.5)
OKLCHoklch(0.886 0.064 328.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2cbef on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#f2cbef on black: 14.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green79.6%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta16.1%
Yellow1.2%
Key (black)5.1%

Color previews

#f2cbef text on a black background

contrast 14.56:1

Card sample

#f2cbef text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(242, 203, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 203, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2cbef;
background: linear-gradient(135deg, #f2cbef, #F2CBD5);

Monochromatic scale

Palettes built from #f2cbef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cbef in the Color Lab