Skip to content

#fba4fd

a light, electric magenta / pink · warm · closest name: violet

RGB
251, 164, 253
HSL
299°, 96%, 82%
CMYK
1, 35, 0, 1
Luminance
0.5415

Every format

HEX#fba4fd
RGBrgb(251, 164, 253)
HSLhsl(299, 96%, 82%)
CMYKcmyk(1%, 35%, 0%, 1%)
LABlab(78.5 45.7 -31.1)
LCHlch(78.5 55.3 325.7)
OKLCHoklch(0.833 0.152 326.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fba4fd on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#fba4fd on black: 11.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green64.3%
Blue99.2%

CMYK percentages

Cyan0.8%
Magenta35.2%
Yellow0.0%
Key (black)0.8%

Color previews

#fba4fd text on a black background

contrast 11.83:1

Card sample

#fba4fd text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fba4fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fba4fd in the Color Lab