Skip to content

#ff2dab

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

RGB
255, 45, 171
HSL
324°, 100%, 59%
CMYK
0, 82, 33, 0
Luminance
0.2608

Every format

HEX#ff2dab
RGBrgb(255, 45, 171)
HSLhsl(324, 100%, 59%)
CMYKcmyk(0%, 82%, 33%, 0%)
LABlab(58.1 82.9 -16.6)
LCHlch(58.1 84.5 348.7)
OKLCHoklch(0.673 0.258 350.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2dab on white: 3.38:1
AA ✗ fail · AA-large · AAA
Aa
#ff2dab on black: 6.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green17.6%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta82.4%
Yellow32.9%
Key (black)0.0%

Color previews

#ff2dab text on a black background

contrast 6.22:1

Card sample

#ff2dab text on a white background

contrast 3.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2dab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2dab in the Color Lab