Skip to content

#cd2fcd

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

RGB
205, 47, 205
HSL
300°, 63%, 49%
CMYK
0, 77, 0, 20
Luminance
0.1942

Every format

HEX#cd2fcd
RGBrgb(205, 47, 205)
HSLhsl(300, 63%, 49%)
CMYKcmyk(0%, 77%, 0%, 20%)
LABlab(51.2 76.2 -47.7)
LCHlch(51.2 89.9 328.0)
OKLCHoklch(0.612 0.251 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2fcd on white: 4.30:1
AA ✗ fail · AA-large · AAA
Aa
#cd2fcd on black: 4.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green18.4%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta77.1%
Yellow0.0%
Key (black)19.6%

Color previews

#cd2fcd text on a black background

contrast 4.88:1

Card sample

#cd2fcd text on a white background

contrast 4.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2fcd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2fcd in the Color Lab