Skip to content

#d223df

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

RGB
210, 35, 223
HSL
296°, 75%, 51%
CMYK
6, 84, 0, 13
Luminance
0.2023

Every format

HEX#d223df
RGBrgb(210, 35, 223)
HSLhsl(296, 75%, 51%)
CMYKcmyk(6%, 84%, 0%, 13%)
LABlab(52.1 82.7 -56.5)
LCHlch(52.1 100.2 325.7)
OKLCHoklch(0.624 0.274 324.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d223df on white: 4.16:1
AA ✗ fail · AA-large · AAA
Aa
#d223df on black: 5.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green13.7%
Blue87.5%

CMYK percentages

Cyan5.8%
Magenta84.3%
Yellow0.0%
Key (black)12.5%

Color previews

#d223df text on a black background

contrast 5.05:1

Card sample

#d223df text on a white background

contrast 4.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d223df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d223df in the Color Lab