Skip to content

#dc3cfb

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

RGB
220, 60, 251
HSL
290°, 96%, 61%
CMYK
12, 76, 0, 2
Luminance
0.2541

Every format

HEX#dc3cfb
RGBrgb(220, 60, 251)
HSLhsl(290, 96%, 61%)
CMYKcmyk(12%, 76%, 0%, 2%)
LABlab(57.5 83.0 -63.5)
LCHlch(57.5 104.5 322.6)
OKLCHoklch(0.670 0.280 320.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc3cfb on white: 3.45:1
AA ✗ fail · AA-large · AAA
Aa
#dc3cfb on black: 6.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green23.5%
Blue98.4%

CMYK percentages

Cyan12.4%
Magenta76.1%
Yellow0.0%
Key (black)1.6%

Color previews

#dc3cfb text on a black background

contrast 6.08:1

Card sample

#dc3cfb text on a white background

contrast 3.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 60, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 60, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dc3cfb;
background: linear-gradient(135deg, #dc3cfb, #FB3C9B);

Monochromatic scale

Palettes built from #dc3cfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc3cfb in the Color Lab