Skip to content

#cd0fdf

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

RGB
205, 15, 223
HSL
295°, 87%, 47%
CMYK
8, 93, 0, 13
Luminance
0.1865

Every format

HEX#cd0fdf
RGBrgb(205, 15, 223)
HSLhsl(295, 87%, 47%)
CMYKcmyk(8%, 93%, 0%, 13%)
LABlab(50.3 84.8 -59.5)
LCHlch(50.3 103.6 325.0)
OKLCHoklch(0.610 0.282 323.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd0fdf on white: 4.44:1
AA ✗ fail · AA-large · AAA
Aa
#cd0fdf on black: 4.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green5.9%
Blue87.5%

CMYK percentages

Cyan8.1%
Magenta93.3%
Yellow0.0%
Key (black)12.5%

Color previews

#cd0fdf text on a black background

contrast 4.73:1

Card sample

#cd0fdf text on a white background

contrast 4.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd0fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd0fdf in the Color Lab