Skip to content

#f25df0

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

RGB
242, 93, 240
HSL
301°, 85%, 66%
CMYK
0, 62, 1, 5
Luminance
0.3300

Every format

HEX#f25df0
RGBrgb(242, 93, 240)
HSLhsl(301, 85%, 66%)
CMYKcmyk(0%, 62%, 1%, 5%)
LABlab(64.2 74.3 -46.5)
LCHlch(64.2 87.7 327.9)
OKLCHoklch(0.723 0.244 328.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f25df0 on white: 2.76:1
AA ✗ fail · AA-large · AAA
Aa
#f25df0 on black: 7.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green36.5%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta61.6%
Yellow0.8%
Key (black)5.1%

Color previews

#f25df0 text on a black background

contrast 7.60:1

Card sample

#f25df0 text on a white background

contrast 2.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f25df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f25df0 in the Color Lab