Skip to content

#ff4cc2

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

RGB
255, 76, 194
HSL
320°, 100%, 65%
CMYK
0, 70, 24, 0
Luminance
0.3032

Every format

HEX#ff4cc2
RGBrgb(255, 76, 194)
HSLhsl(320, 100%, 65%)
CMYKcmyk(0%, 70%, 24%, 0%)
LABlab(61.9 77.1 -24.0)
LCHlch(61.9 80.7 342.7)
OKLCHoklch(0.704 0.241 344.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4cc2 on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#ff4cc2 on black: 7.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green29.8%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta70.2%
Yellow23.9%
Key (black)0.0%

Color previews

#ff4cc2 text on a black background

contrast 7.06:1

Card sample

#ff4cc2 text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 76, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 76, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff4cc2;
background: linear-gradient(135deg, #ff4cc2, #FF4D4C);

Monochromatic scale

Palettes built from #ff4cc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4cc2 in the Color Lab