Skip to content

#dc2fac

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

RGB
220, 47, 172
HSL
317°, 71%, 52%
CMYK
0, 79, 22, 14
Luminance
0.2023

Every format

HEX#dc2fac
RGBrgb(220, 47, 172)
HSLhsl(317, 71%, 52%)
CMYKcmyk(0%, 79%, 22%, 14%)
LABlab(52.1 74.8 -26.9)
LCHlch(52.1 79.5 340.2)
OKLCHoklch(0.619 0.236 342.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2fac on white: 4.16:1
AA ✗ fail · AA-large · AAA
Aa
#dc2fac on black: 5.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green18.4%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta78.6%
Yellow21.8%
Key (black)13.7%

Color previews

#dc2fac text on a black background

contrast 5.05:1

Card sample

#dc2fac text on a white background

contrast 4.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2fac in the Color Lab