Skip to content

#ed5fdf

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

RGB
237, 95, 223
HSL
306°, 80%, 65%
CMYK
0, 60, 6, 7
Luminance
0.3152

Every format

HEX#ed5fdf
RGBrgb(237, 95, 223)
HSLhsl(306, 80%, 65%)
CMYKcmyk(0%, 60%, 6%, 7%)
LABlab(62.9 69.5 -39.0)
LCHlch(62.9 79.7 330.7)
OKLCHoklch(0.710 0.226 331.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed5fdf on white: 2.88:1
AA ✗ fail · AA-large · AAA
Aa
#ed5fdf on black: 7.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green37.3%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta59.9%
Yellow5.9%
Key (black)7.1%

Color previews

#ed5fdf text on a black background

contrast 7.30:1

Card sample

#ed5fdf text on a white background

contrast 2.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed5fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed5fdf in the Color Lab