Skip to content

#f092f0

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

RGB
240, 146, 240
HSL
300°, 76%, 76%
CMYK
0, 39, 0, 6
Luminance
0.4537

Every format

HEX#f092f0
RGBrgb(240, 146, 240)
HSLhsl(300, 76%, 76%)
CMYKcmyk(0%, 39%, 0%, 6%)
LABlab(73.1 49.3 -32.5)
LCHlch(73.1 59.0 326.5)
OKLCHoklch(0.788 0.163 327.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f092f0 on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#f092f0 on black: 10.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green57.3%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta39.2%
Yellow0.0%
Key (black)5.9%

Color previews

#f092f0 text on a black background

contrast 10.07:1

Card sample

#f092f0 text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f092f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f092f0 in the Color Lab