Skip to content

#fba4ff

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

RGB
251, 164, 255
HSL
297°, 100%, 82%
CMYK
2, 36, 0, 0
Luminance
0.5428

Every format

HEX#fba4ff
RGBrgb(251, 164, 255)
HSLhsl(297, 100%, 82%)
CMYKcmyk(2%, 36%, 0%, 0%)
LABlab(78.6 46.0 -32.1)
LCHlch(78.6 56.1 325.1)
OKLCHoklch(0.834 0.154 325.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fba4ff on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#fba4ff on black: 11.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green64.3%
Blue100.0%

CMYK percentages

Cyan1.6%
Magenta35.7%
Yellow0.0%
Key (black)0.0%

Color previews

#fba4ff text on a black background

contrast 11.86:1

Card sample

#fba4ff text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fba4ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fba4ff in the Color Lab