Skip to content

#f082df

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

RGB
240, 130, 223
HSL
309°, 79%, 73%
CMYK
0, 46, 7, 6
Luminance
0.3982

Every format

HEX#f082df
RGBrgb(240, 130, 223)
HSLhsl(309, 79%, 73%)
CMYKcmyk(0%, 46%, 7%, 6%)
LABlab(69.3 54.4 -29.1)
LCHlch(69.3 61.7 331.9)
OKLCHoklch(0.758 0.174 333.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f082df on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#f082df on black: 8.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green51.0%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta45.8%
Yellow7.1%
Key (black)5.9%

Color previews

#f082df text on a black background

contrast 8.96:1

Card sample

#f082df text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f082df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f082df in the Color Lab