Skip to content

#ff2fac

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

RGB
255, 47, 172
HSL
324°, 100%, 59%
CMYK
0, 82, 33, 0
Luminance
0.2627

Every format

HEX#ff2fac
RGBrgb(255, 47, 172)
HSLhsl(324, 100%, 59%)
CMYKcmyk(0%, 82%, 33%, 0%)
LABlab(58.3 82.6 -16.9)
LCHlch(58.3 84.3 348.4)
OKLCHoklch(0.675 0.257 350.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2fac on white: 3.36:1
AA ✗ fail · AA-large · AAA
Aa
#ff2fac on black: 6.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green18.4%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta81.6%
Yellow32.5%
Key (black)0.0%

Color previews

#ff2fac text on a black background

contrast 6.25:1

Card sample

#ff2fac text on a white background

contrast 3.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2fac in the Color Lab