Skip to content

#dc3afb

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

RGB
220, 58, 251
HSL
290°, 96%, 61%
CMYK
12, 77, 0, 2
Luminance
0.2521

Every format

HEX#dc3afb
RGBrgb(220, 58, 251)
HSLhsl(290, 96%, 61%)
CMYKcmyk(12%, 77%, 0%, 2%)
LABlab(57.3 83.5 -63.8)
LCHlch(57.3 105.1 322.6)
OKLCHoklch(0.669 0.281 320.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc3afb on white: 3.48:1
AA ✗ fail · AA-large · AAA
Aa
#dc3afb on black: 6.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green22.7%
Blue98.4%

CMYK percentages

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

Color previews

#dc3afb text on a black background

contrast 6.04:1

Card sample

#dc3afb text on a white background

contrast 3.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc3afb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc3afb in the Color Lab