Skip to content

#f25dfd

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

RGB
242, 93, 253
HSL
296°, 98%, 68%
CMYK
4, 63, 0, 1
Luminance
0.3380

Every format

HEX#f25dfd
RGBrgb(242, 93, 253)
HSLhsl(296, 98%, 68%)
CMYKcmyk(4%, 63%, 0%, 1%)
LABlab(64.8 76.4 -52.7)
LCHlch(64.8 92.8 325.4)
OKLCHoklch(0.729 0.255 324.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f25dfd on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#f25dfd on black: 7.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green36.5%
Blue99.2%

CMYK percentages

Cyan4.3%
Magenta63.2%
Yellow0.0%
Key (black)0.8%

Color previews

#f25dfd text on a black background

contrast 7.76:1

Card sample

#f25dfd text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f25dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f25dfd in the Color Lab