Skip to content

#ff4cd2

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

RGB
255, 76, 210
HSL
315°, 100%, 65%
CMYK
0, 70, 18, 0
Luminance
0.3108

Every format

HEX#ff4cd2
RGBrgb(255, 76, 210)
HSLhsl(315, 100%, 65%)
CMYKcmyk(0%, 70%, 18%, 0%)
LABlab(62.6 79.1 -32.1)
LCHlch(62.6 85.4 337.9)
OKLCHoklch(0.711 0.251 339.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4cd2 on white: 2.91:1
AA ✗ fail · AA-large · AAA
Aa
#ff4cd2 on black: 7.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green29.8%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta70.2%
Yellow17.6%
Key (black)0.0%

Color previews

#ff4cd2 text on a black background

contrast 7.22:1

Card sample

#ff4cd2 text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff4cd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4cd2 in the Color Lab