Skip to content

#ff0fac

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

RGB
255, 15, 172
HSL
321°, 100%, 53%
CMYK
0, 94, 33, 0
Luminance
0.2458

Every format

HEX#ff0fac
RGBrgb(255, 15, 172)
HSLhsl(321, 100%, 53%)
CMYKcmyk(0%, 94%, 33%, 0%)
LABlab(56.7 87.3 -19.4)
LCHlch(56.7 89.4 347.5)
OKLCHoklch(0.663 0.273 349.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff0fac on white: 3.55:1
AA ✗ fail · AA-large · AAA
Aa
#ff0fac on black: 5.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green5.9%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta94.1%
Yellow32.5%
Key (black)0.0%

Color previews

#ff0fac text on a black background

contrast 5.92:1

Card sample

#ff0fac text on a white background

contrast 3.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff0fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff0fac in the Color Lab