Skip to content

#ff7fac

a light, electric magenta / pink · warm · closest name: plum

RGB
255, 127, 172
HSL
339°, 100%, 75%
CMYK
0, 50, 33, 0
Luminance
0.3942

Every format

HEX#ff7fac
RGBrgb(255, 127, 172)
HSLhsl(339, 100%, 75%)
CMYKcmyk(0%, 50%, 33%, 0%)
LABlab(69.1 53.2 -0.8)
LCHlch(69.1 53.3 359.1)
OKLCHoklch(0.754 0.162 359.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff7fac on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#ff7fac on black: 8.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green49.8%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta50.2%
Yellow32.5%
Key (black)0.0%

Color previews

#ff7fac text on a black background

contrast 8.88:1

Card sample

#ff7fac text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff7fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff7fac in the Color Lab