Skip to content

#ed0dfd

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

RGB
237, 13, 253
HSL
296°, 98%, 52%
CMYK
6, 95, 0, 1
Luminance
0.2538

Every format

HEX#ed0dfd
RGBrgb(237, 13, 253)
HSLhsl(296, 98%, 52%)
CMYKcmyk(6%, 95%, 0%, 1%)
LABlab(57.5 94.4 -64.5)
LCHlch(57.5 114.3 325.7)
OKLCHoklch(0.676 0.313 324.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed0dfd on white: 3.46:1
AA ✗ fail · AA-large · AAA
Aa
#ed0dfd on black: 6.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green5.1%
Blue99.2%

CMYK percentages

Cyan6.3%
Magenta94.9%
Yellow0.0%
Key (black)0.8%

Color previews

#ed0dfd text on a black background

contrast 6.08:1

Card sample

#ed0dfd text on a white background

contrast 3.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed0dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed0dfd in the Color Lab