Skip to content

#ff5fac

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

RGB
255, 95, 172
HSL
331°, 100%, 69%
CMYK
0, 63, 33, 0
Luminance
0.3242

Every format

HEX#ff5fac
RGBrgb(255, 95, 172)
HSLhsl(331, 100%, 69%)
CMYKcmyk(0%, 63%, 33%, 0%)
LABlab(63.7 67.5 -8.8)
LCHlch(63.7 68.0 352.6)
OKLCHoklch(0.714 0.207 353.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff5fac on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#ff5fac on black: 7.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green37.3%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta62.7%
Yellow32.5%
Key (black)0.0%

Color previews

#ff5fac text on a black background

contrast 7.48:1

Card sample

#ff5fac text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff5fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff5fac in the Color Lab