Skip to content

#f25df9

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

RGB
242, 93, 249
HSL
297°, 93%, 67%
CMYK
3, 63, 0, 2
Luminance
0.3355

Every format

HEX#f25df9
RGBrgb(242, 93, 249)
HSLhsl(297, 93%, 67%)
CMYKcmyk(3%, 63%, 0%, 2%)
LABlab(64.6 75.8 -50.8)
LCHlch(64.6 91.2 326.1)
OKLCHoklch(0.727 0.251 325.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f25df9 on white: 2.72:1
AA ✗ fail · AA-large · AAA
Aa
#f25df9 on black: 7.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green36.5%
Blue97.6%

CMYK percentages

Cyan2.8%
Magenta62.7%
Yellow0.0%
Key (black)2.4%

Color previews

#f25df9 text on a black background

contrast 7.71:1

Card sample

#f25df9 text on a white background

contrast 2.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(242, 93, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 93, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f25df9;
background: linear-gradient(135deg, #f25df9, #F95D98);

Monochromatic scale

Palettes built from #f25df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f25df9 in the Color Lab