Skip to content

#ed9af4

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

RGB
237, 154, 244
HSL
295°, 80%, 78%
CMYK
3, 37, 0, 4
Luminance
0.4765

Every format

HEX#ed9af4
RGBrgb(237, 154, 244)
HSLhsl(295, 80%, 78%)
CMYKcmyk(3%, 37%, 0%, 4%)
LABlab(74.6 45.0 -32.5)
LCHlch(74.6 55.5 324.2)
OKLCHoklch(0.799 0.151 324.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed9af4 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#ed9af4 on black: 10.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green60.4%
Blue95.7%

CMYK percentages

Cyan2.9%
Magenta36.9%
Yellow0.0%
Key (black)4.3%

Color previews

#ed9af4 text on a black background

contrast 10.53:1

Card sample

#ed9af4 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed9af4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed9af4 in the Color Lab