Skip to content

#f25fac

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

RGB
242, 95, 172
HSL
329°, 85%, 66%
CMYK
0, 61, 29, 5
Luminance
0.3004

Every format

HEX#f25fac
RGBrgb(242, 95, 172)
HSLhsl(329, 85%, 66%)
CMYKcmyk(0%, 61%, 29%, 5%)
LABlab(61.7 63.7 -12.0)
LCHlch(61.7 64.8 349.4)
OKLCHoklch(0.696 0.196 350.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f25fac on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#f25fac on black: 7.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green37.3%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta60.7%
Yellow28.9%
Key (black)5.1%

Color previews

#f25fac text on a black background

contrast 7.01:1

Card sample

#f25fac text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f25fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f25fac in the Color Lab