Skip to content

#df5aef

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

RGB
223, 90, 239
HSL
294°, 82%, 65%
CMYK
7, 62, 0, 6
Luminance
0.2923

Every format

HEX#df5aef
RGBrgb(223, 90, 239)
HSLhsl(294, 82%, 65%)
CMYKcmyk(7%, 62%, 0%, 6%)
LABlab(61.0 70.9 -51.2)
LCHlch(61.0 87.4 324.2)
OKLCHoklch(0.694 0.238 323.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df5aef on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#df5aef on black: 6.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green35.3%
Blue93.7%

CMYK percentages

Cyan6.7%
Magenta62.3%
Yellow0.0%
Key (black)6.3%

Color previews

#df5aef text on a black background

contrast 6.85:1

Card sample

#df5aef text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df5aef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df5aef in the Color Lab