Skip to content

#f080e3

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

RGB
240, 128, 227
HSL
307°, 79%, 72%
CMYK
0, 47, 5, 6
Luminance
0.3951

Every format

HEX#f080e3
RGBrgb(240, 128, 227)
HSLhsl(307, 79%, 72%)
CMYKcmyk(0%, 47%, 5%, 6%)
LABlab(69.1 56.0 -31.6)
LCHlch(69.1 64.3 330.6)
OKLCHoklch(0.757 0.181 331.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f080e3 on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#f080e3 on black: 8.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green50.2%
Blue89.0%

CMYK percentages

Cyan0.0%
Magenta46.7%
Yellow5.4%
Key (black)5.9%

Color previews

#f080e3 text on a black background

contrast 8.90:1

Card sample

#f080e3 text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f080e3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f080e3 in the Color Lab