Skip to content

#cd3fab

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

RGB
205, 63, 171
HSL
314°, 59%, 53%
CMYK
0, 69, 17, 20
Luminance
0.1947

Every format

HEX#cd3fab
RGBrgb(205, 63, 171)
HSLhsl(314, 59%, 53%)
CMYKcmyk(0%, 69%, 17%, 20%)
LABlab(51.2 66.2 -27.9)
LCHlch(51.2 71.8 337.2)
OKLCHoklch(0.607 0.210 339.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd3fab on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#cd3fab on black: 4.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green24.7%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta69.3%
Yellow16.6%
Key (black)19.6%

Color previews

#cd3fab text on a black background

contrast 4.89:1

Card sample

#cd3fab text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd3fab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd3fab in the Color Lab