Skip to content

#ffbaf2

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

RGB
255, 186, 242
HSL
311°, 100%, 87%
CMYK
0, 27, 5, 0
Luminance
0.6279

Every format

HEX#ffbaf2
RGBrgb(255, 186, 242)
HSLhsl(311, 100%, 87%)
CMYKcmyk(0%, 27%, 5%, 0%)
LABlab(83.3 33.5 -17.9)
LCHlch(83.3 38.0 331.9)
OKLCHoklch(0.869 0.107 333.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffbaf2 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#ffbaf2 on black: 13.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green72.9%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta27.1%
Yellow5.1%
Key (black)0.0%

Color previews

#ffbaf2 text on a black background

contrast 13.56:1

Card sample

#ffbaf2 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffbaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffbaf2 in the Color Lab