Skip to content

#ffb2ff

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

RGB
255, 178, 255
HSL
300°, 100%, 85%
CMYK
0, 30, 0, 0
Luminance
0.6032

Every format

HEX#ffb2ff
RGBrgb(255, 178, 255)
HSLhsl(300, 100%, 85%)
CMYKcmyk(0%, 30%, 0%, 0%)
LABlab(82.0 40.0 -26.9)
LCHlch(82.0 48.2 326.1)
OKLCHoklch(0.861 0.132 326.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffb2ff on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#ffb2ff on black: 13.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green69.8%
Blue100.0%

CMYK percentages

Cyan0.0%
Magenta30.2%
Yellow0.0%
Key (black)0.0%

Color previews

#ffb2ff text on a black background

contrast 13.06:1

Card sample

#ffb2ff text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffb2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffb2ff in the Color Lab