Skip to content

#ffcbf2

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

RGB
255, 203, 242
HSL
315°, 100%, 90%
CMYK
0, 20, 5, 0
Luminance
0.7038

Every format

HEX#ffcbf2
RGBrgb(255, 203, 242)
HSLhsl(315, 100%, 90%)
CMYKcmyk(0%, 20%, 5%, 0%)
LABlab(87.2 24.6 -12.2)
LCHlch(87.2 27.4 333.7)
OKLCHoklch(0.899 0.077 335.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green79.6%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta20.4%
Yellow5.1%
Key (black)0.0%

Color previews

#ffcbf2 text on a black background

contrast 15.08:1

Card sample

#ffcbf2 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcbf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcbf2 in the Color Lab