Skip to content

#f88df2

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

RGB
248, 141, 242
HSL
303°, 88%, 76%
CMYK
0, 43, 2, 3
Luminance
0.4542

Every format

HEX#f88df2
RGBrgb(248, 141, 242)
HSLhsl(303, 88%, 76%)
CMYKcmyk(0%, 43%, 2%, 3%)
LABlab(73.2 54.5 -33.5)
LCHlch(73.2 64.0 328.4)
OKLCHoklch(0.791 0.178 329.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f88df2 on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#f88df2 on black: 10.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green55.3%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta43.1%
Yellow2.4%
Key (black)2.7%

Color previews

#f88df2 text on a black background

contrast 10.08:1

Card sample

#f88df2 text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f88df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f88df2 in the Color Lab