Skip to content

#ffb2f0

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

RGB
255, 178, 240
HSL
312°, 100%, 85%
CMYK
0, 30, 6, 0
Luminance
0.5939

Every format

HEX#ffb2f0
RGBrgb(255, 178, 240)
HSLhsl(312, 100%, 85%)
CMYKcmyk(0%, 30%, 6%, 0%)
LABlab(81.5 37.4 -19.6)
LCHlch(81.5 42.2 332.3)
OKLCHoklch(0.855 0.119 333.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffb2f0 on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#ffb2f0 on black: 12.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green69.8%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta30.2%
Yellow5.9%
Key (black)0.0%

Color previews

#ffb2f0 text on a black background

contrast 12.88:1

Card sample

#ffb2f0 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffb2f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffb2f0 in the Color Lab