Skip to content

#f092f4

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

RGB
240, 146, 244
HSL
298°, 82%, 77%
CMYK
2, 40, 0, 4
Luminance
0.4561

Every format

HEX#f092f4
RGBrgb(240, 146, 244)
HSLhsl(298, 82%, 77%)
CMYKcmyk(2%, 40%, 0%, 4%)
LABlab(73.3 50.0 -34.5)
LCHlch(73.3 60.7 325.4)
OKLCHoklch(0.790 0.167 325.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f092f4 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#f092f4 on black: 10.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green57.3%
Blue95.7%

CMYK percentages

Cyan1.6%
Magenta40.2%
Yellow0.0%
Key (black)4.3%

Color previews

#f092f4 text on a black background

contrast 10.12:1

Card sample

#f092f4 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f092f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f092f4 in the Color Lab