Skip to content

#fba2f0

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

RGB
251, 162, 240
HSL
307°, 92%, 81%
CMYK
0, 36, 4, 2
Luminance
0.5264

Every format

HEX#fba2f0
RGBrgb(251, 162, 240)
HSLhsl(307, 92%, 81%)
CMYKcmyk(0%, 36%, 4%, 2%)
LABlab(77.7 44.4 -25.5)
LCHlch(77.7 51.2 330.1)
OKLCHoklch(0.825 0.143 331.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fba2f0 on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#fba2f0 on black: 11.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green63.5%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta35.5%
Yellow4.4%
Key (black)1.6%

Color previews

#fba2f0 text on a black background

contrast 11.53:1

Card sample

#fba2f0 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fba2f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fba2f0 in the Color Lab