Skip to content

#f092fd

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

RGB
240, 146, 253
HSL
293°, 96%, 78%
CMYK
5, 42, 0, 1
Luminance
0.4617

Every format

HEX#f092fd
RGBrgb(240, 146, 253)
HSLhsl(293, 96%, 78%)
CMYKcmyk(5%, 42%, 0%, 1%)
LABlab(73.7 51.6 -38.8)
LCHlch(73.7 64.6 323.1)
OKLCHoklch(0.794 0.175 322.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f092fd on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#f092fd on black: 10.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green57.3%
Blue99.2%

CMYK percentages

Cyan5.1%
Magenta42.3%
Yellow0.0%
Key (black)0.8%

Color previews

#f092fd text on a black background

contrast 10.23:1

Card sample

#f092fd text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f092fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f092fd in the Color Lab