Skip to content

#ffb4fd

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

RGB
255, 180, 253
HSL
302°, 100%, 85%
CMYK
0, 29, 1, 0
Luminance
0.6099

Every format

HEX#ffb4fd
RGBrgb(255, 180, 253)
HSLhsl(302, 100%, 85%)
CMYKcmyk(0%, 29%, 1%, 0%)
LABlab(82.4 38.6 -25.3)
LCHlch(82.4 46.1 326.8)
OKLCHoklch(0.863 0.127 327.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffb4fd on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#ffb4fd on black: 13.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green70.6%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta29.4%
Yellow0.8%
Key (black)0.0%

Color previews

#ffb4fd text on a black background

contrast 13.20:1

Card sample

#ffb4fd text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffb4fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffb4fd in the Color Lab