Skip to content

#f080d1

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

RGB
240, 128, 209
HSL
317°, 79%, 72%
CMYK
0, 47, 13, 6
Luminance
0.3857

Every format

HEX#f080d1
RGBrgb(240, 128, 209)
HSLhsl(317, 79%, 72%)
CMYKcmyk(0%, 47%, 13%, 6%)
LABlab(68.4 53.1 -22.7)
LCHlch(68.4 57.8 336.9)
OKLCHoklch(0.749 0.167 338.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f080d1 on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#f080d1 on black: 8.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green50.2%
Blue82.0%

CMYK percentages

Cyan0.0%
Magenta46.7%
Yellow12.9%
Key (black)5.9%

Color previews

#f080d1 text on a black background

contrast 8.71:1

Card sample

#f080d1 text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f080d1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f080d1 in the Color Lab