Skip to content

#f055df

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

RGB
240, 85, 223
HSL
307°, 84%, 64%
CMYK
0, 65, 7, 6
Luminance
0.3035

Every format

HEX#f055df
RGBrgb(240, 85, 223)
HSLhsl(307, 84%, 64%)
CMYKcmyk(0%, 65%, 7%, 6%)
LABlab(62.0 74.2 -40.5)
LCHlch(62.0 84.6 331.4)
OKLCHoklch(0.704 0.240 332.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f055df on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#f055df on black: 7.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green33.3%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta64.6%
Yellow7.1%
Key (black)5.9%

Color previews

#f055df text on a black background

contrast 7.07:1

Card sample

#f055df text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f055df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f055df in the Color Lab