Skip to content

#d90fdf

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

RGB
217, 15, 223
HSL
298°, 87%, 47%
CMYK
3, 93, 0, 13
Luminance
0.2042

Every format

HEX#d90fdf
RGBrgb(217, 15, 223)
HSLhsl(298, 87%, 47%)
CMYKcmyk(3%, 93%, 0%, 13%)
LABlab(52.3 86.7 -56.1)
LCHlch(52.3 103.3 327.1)
OKLCHoklch(0.628 0.286 326.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d90fdf on white: 4.13:1
AA ✗ fail · AA-large · AAA
Aa
#d90fdf on black: 5.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green5.9%
Blue87.5%

CMYK percentages

Cyan2.7%
Magenta93.3%
Yellow0.0%
Key (black)12.5%

Color previews

#d90fdf text on a black background

contrast 5.08:1

Card sample

#d90fdf text on a white background

contrast 4.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d90fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d90fdf in the Color Lab