Skip to content

#d239df

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

RGB
210, 57, 223
HSL
295°, 72%, 55%
CMYK
6, 74, 0, 13
Luminance
0.2196

Every format

HEX#d239df
RGBrgb(210, 57, 223)
HSLhsl(295, 72%, 55%)
CMYKcmyk(6%, 74%, 0%, 13%)
LABlab(54.0 77.2 -53.5)
LCHlch(54.0 93.9 325.3)
OKLCHoklch(0.637 0.257 324.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d239df on white: 3.90:1
AA ✗ fail · AA-large · AAA
Aa
#d239df on black: 5.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green22.4%
Blue87.5%

CMYK percentages

Cyan5.8%
Magenta74.4%
Yellow0.0%
Key (black)12.5%

Color previews

#d239df text on a black background

contrast 5.39:1

Card sample

#d239df text on a white background

contrast 3.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d239df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d239df in the Color Lab