Skip to content

#f475df

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

RGB
244, 117, 223
HSL
310°, 85%, 71%
CMYK
0, 52, 9, 4
Luminance
0.3728

Every format

HEX#f475df
RGBrgb(244, 117, 223)
HSLhsl(310, 85%, 71%)
CMYKcmyk(0%, 52%, 9%, 4%)
LABlab(67.5 61.7 -31.9)
LCHlch(67.5 69.5 332.7)
OKLCHoklch(0.745 0.198 334.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f475df on white: 2.48:1
AA ✗ fail · AA-large · AAA
Aa
#f475df on black: 8.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green45.9%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta52.0%
Yellow8.6%
Key (black)4.3%

Color previews

#f475df text on a black background

contrast 8.46:1

Card sample

#f475df text on a white background

contrast 2.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f475df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f475df in the Color Lab