Skip to content

#f080db

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

RGB
240, 128, 219
HSL
311°, 79%, 72%
CMYK
0, 47, 9, 6
Luminance
0.3908

Every format

HEX#f080db
RGBrgb(240, 128, 219)
HSLhsl(311, 79%, 72%)
CMYKcmyk(0%, 47%, 9%, 6%)
LABlab(68.8 54.7 -27.7)
LCHlch(68.8 61.3 333.2)
OKLCHoklch(0.753 0.174 334.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f080db on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#f080db on black: 8.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green50.2%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta46.7%
Yellow8.8%
Key (black)5.9%

Color previews

#f080db text on a black background

contrast 8.82:1

Card sample

#f080db text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f080db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f080db in the Color Lab