Skip to content

#df30c2

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

RGB
223, 48, 194
HSL
310°, 73%, 53%
CMYK
0, 79, 13, 13
Luminance
0.2170

Every format

HEX#df30c2
RGBrgb(223, 48, 194)
HSLhsl(310, 73%, 53%)
CMYKcmyk(0%, 79%, 13%, 13%)
LABlab(53.7 78.0 -37.2)
LCHlch(53.7 86.4 334.5)
OKLCHoklch(0.634 0.251 336.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df30c2 on white: 3.93:1
AA ✗ fail · AA-large · AAA
Aa
#df30c2 on black: 5.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.8%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta78.5%
Yellow13.0%
Key (black)12.5%

Color previews

#df30c2 text on a black background

contrast 5.34:1

Card sample

#df30c2 text on a white background

contrast 3.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df30c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df30c2 in the Color Lab