Skip to content

#d425df

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

RGB
212, 37, 223
HSL
297°, 74%, 51%
CMYK
5, 83, 0, 13
Luminance
0.2065

Every format

HEX#d425df
RGBrgb(212, 37, 223)
HSLhsl(297, 74%, 51%)
CMYKcmyk(5%, 83%, 0%, 13%)
LABlab(52.6 82.7 -55.7)
LCHlch(52.6 99.7 326.0)
OKLCHoklch(0.628 0.274 325.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d425df on white: 4.09:1
AA ✗ fail · AA-large · AAA
Aa
#d425df on black: 5.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green14.5%
Blue87.5%

CMYK percentages

Cyan4.9%
Magenta83.4%
Yellow0.0%
Key (black)12.5%

Color previews

#d425df text on a black background

contrast 5.13:1

Card sample

#d425df text on a white background

contrast 4.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d425df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d425df in the Color Lab