Skip to content

#cd4fc2

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

RGB
205, 79, 194
HSL
305°, 56%, 56%
CMYK
0, 62, 5, 20
Luminance
0.2247

Every format

HEX#cd4fc2
RGBrgb(205, 79, 194)
HSLhsl(305, 56%, 56%)
CMYKcmyk(0%, 62%, 5%, 20%)
LABlab(54.5 63.4 -36.1)
LCHlch(54.5 73.0 330.3)
OKLCHoklch(0.635 0.206 331.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd4fc2 on white: 3.82:1
AA ✗ fail · AA-large · AAA
Aa
#cd4fc2 on black: 5.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green31.0%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta61.5%
Yellow5.4%
Key (black)19.6%

Color previews

#cd4fc2 text on a black background

contrast 5.49:1

Card sample

#cd4fc2 text on a white background

contrast 3.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd4fc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd4fc2 in the Color Lab