Skip to content

#ed5df2

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

RGB
237, 93, 242
HSL
298°, 85%, 66%
CMYK
2, 62, 0, 5
Luminance
0.3224

Every format

HEX#ed5df2
RGBrgb(237, 93, 242)
HSLhsl(298, 85%, 66%)
CMYKcmyk(2%, 62%, 0%, 5%)
LABlab(63.5 73.4 -48.7)
LCHlch(63.5 88.1 326.5)
OKLCHoklch(0.717 0.243 326.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed5df2 on white: 2.82:1
AA ✗ fail · AA-large · AAA
Aa
#ed5df2 on black: 7.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green36.5%
Blue94.9%

CMYK percentages

Cyan2.1%
Magenta61.6%
Yellow0.0%
Key (black)5.1%

Color previews

#ed5df2 text on a black background

contrast 7.45:1

Card sample

#ed5df2 text on a white background

contrast 2.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed5df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed5df2 in the Color Lab