Skip to content

#f45fdf

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

RGB
244, 95, 223
HSL
309°, 87%, 67%
CMYK
0, 61, 9, 4
Luminance
0.3275

Every format

HEX#f45fdf
RGBrgb(244, 95, 223)
HSLhsl(309, 87%, 67%)
CMYKcmyk(0%, 61%, 9%, 4%)
LABlab(64.0 71.3 -37.4)
LCHlch(64.0 80.5 332.3)
OKLCHoklch(0.719 0.230 333.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f45fdf on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#f45fdf on black: 7.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green37.3%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta61.1%
Yellow8.6%
Key (black)4.3%

Color previews

#f45fdf text on a black background

contrast 7.55:1

Card sample

#f45fdf text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f45fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f45fdf in the Color Lab