Skip to content

#f080ed

a light, electric magenta / pink · warm · “violet”

RGB
240, 128, 237
HSL
302°, 79%, 72%
CMYK
0, 47, 1, 6
Luminance
0.4008

Every format

HEX#f080ed
RGBrgb(240, 128, 237)
HSLhsl(302, 79%, 72%)
CMYKcmyk(0%, 47%, 1%, 6%)
LABlab(69.5 57.7 -36.5)
LCHlch(69.5 68.3 327.7)
OKLCHoklch(0.761 0.190 328.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f080ed on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#f080ed on black: 9.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green50.2%
Blue92.9%

CMYK percentages

Cyan0.0%
Magenta46.7%
Yellow1.2%
Key (black)5.9%

Color previews

#f080ed text on a black background

contrast 9.02:1

Card sample

#f080ed text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f080ed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f080ed in the Color Lab