Skip to content

#cd2fdb

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

RGB
205, 47, 219
HSL
295°, 71%, 52%
CMYK
6, 79, 0, 14
Luminance
0.2013

Every format

HEX#cd2fdb
RGBrgb(205, 47, 219)
HSLhsl(295, 71%, 52%)
CMYKcmyk(6%, 79%, 0%, 14%)
LABlab(52.0 78.5 -54.4)
LCHlch(52.0 95.5 325.2)
OKLCHoklch(0.621 0.261 324.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2fdb on white: 4.18:1
AA ✗ fail · AA-large · AAA
Aa
#cd2fdb on black: 5.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green18.4%
Blue85.9%

CMYK percentages

Cyan6.4%
Magenta78.5%
Yellow0.0%
Key (black)14.1%

Color previews

#cd2fdb text on a black background

contrast 5.03:1

Card sample

#cd2fdb text on a white background

contrast 4.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2fdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2fdb in the Color Lab