Skip to content

#f025df

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

RGB
240, 37, 223
HSL
305°, 87%, 54%
CMYK
0, 85, 7, 6
Luminance
0.2518

Every format

HEX#f025df
RGBrgb(240, 37, 223)
HSLhsl(305, 87%, 54%)
CMYKcmyk(0%, 85%, 7%, 6%)
LABlab(57.3 87.7 -48.0)
LCHlch(57.3 99.9 331.3)
OKLCHoklch(0.670 0.285 332.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f025df on white: 3.48:1
AA ✗ fail · AA-large · AAA
Aa
#f025df on black: 6.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green14.5%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta84.6%
Yellow7.1%
Key (black)5.9%

Color previews

#f025df text on a black background

contrast 6.04:1

Card sample

#f025df text on a white background

contrast 3.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f025df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f025df in the Color Lab