Skip to content

#cd2fd2

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

RGB
205, 47, 210
HSL
298°, 64%, 50%
CMYK
2, 78, 0, 18
Luminance
0.1967

Every format

HEX#cd2fd2
RGBrgb(205, 47, 210)
HSLhsl(298, 64%, 50%)
CMYKcmyk(2%, 78%, 0%, 18%)
LABlab(51.5 77.0 -50.1)
LCHlch(51.5 91.9 326.9)
OKLCHoklch(0.615 0.254 326.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2fd2 on white: 4.26:1
AA ✗ fail · AA-large · AAA
Aa
#cd2fd2 on black: 4.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green18.4%
Blue82.4%

CMYK percentages

Cyan2.4%
Magenta77.6%
Yellow0.0%
Key (black)17.6%

Color previews

#cd2fd2 text on a black background

contrast 4.93:1

Card sample

#cd2fd2 text on a white background

contrast 4.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2fd2 in the Color Lab