Skip to content

#df23c2

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

RGB
223, 35, 194
HSL
309°, 75%, 51%
CMYK
0, 84, 13, 13
Luminance
0.2079

Every format

HEX#df23c2
RGBrgb(223, 35, 194)
HSLhsl(309, 75%, 51%)
CMYKcmyk(0%, 84%, 13%, 13%)
LABlab(52.7 80.9 -38.7)
LCHlch(52.7 89.7 334.4)
OKLCHoklch(0.627 0.260 336.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df23c2 on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#df23c2 on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green13.7%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta84.3%
Yellow13.0%
Key (black)12.5%

Color previews

#df23c2 text on a black background

contrast 5.16:1

Card sample

#df23c2 text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df23c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df23c2 in the Color Lab