Skip to content

#cd10f2

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

RGB
205, 16, 242
HSL
290°, 90%, 51%
CMYK
15, 93, 0, 5
Luminance
0.1976

Every format

HEX#cd10f2
RGBrgb(205, 16, 242)
HSLhsl(290, 90%, 51%)
CMYKcmyk(15%, 93%, 0%, 5%)
LABlab(51.6 87.7 -68.1)
LCHlch(51.6 111.1 322.2)
OKLCHoklch(0.623 0.294 319.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd10f2 on white: 4.24:1
AA ✗ fail · AA-large · AAA
Aa
#cd10f2 on black: 4.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green6.3%
Blue94.9%

CMYK percentages

Cyan15.3%
Magenta93.4%
Yellow0.0%
Key (black)5.1%

Color previews

#cd10f2 text on a black background

contrast 4.95:1

Card sample

#cd10f2 text on a white background

contrast 4.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd10f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd10f2 in the Color Lab