Skip to content

#f2cbee

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

RGB
242, 203, 238
HSL
306°, 60%, 87%
CMYK
0, 16, 2, 5
Luminance
0.6776

Every format

HEX#f2cbee
RGBrgb(242, 203, 238)
HSLhsl(306, 60%, 87%)
CMYKcmyk(0%, 16%, 2%, 5%)
LABlab(85.9 19.6 -12.1)
LCHlch(85.9 23.0 328.3)
OKLCHoklch(0.886 0.063 329.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green79.6%
Blue93.3%

CMYK percentages

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

Color previews

#f2cbee text on a black background

contrast 14.55:1

Card sample

#f2cbee text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cbee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cbee in the Color Lab