Skip to content

#f18fdf

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

RGB
241, 143, 223
HSL
311°, 78%, 75%
CMYK
0, 41, 8, 6
Luminance
0.4367

Every format

HEX#f18fdf
RGBrgb(241, 143, 223)
HSLhsl(311, 78%, 75%)
CMYKcmyk(0%, 41%, 8%, 6%)
LABlab(72.0 48.2 -25.0)
LCHlch(72.0 54.2 332.6)
OKLCHoklch(0.778 0.154 334.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f18fdf on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#f18fdf on black: 9.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green56.1%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta40.7%
Yellow7.5%
Key (black)5.5%

Color previews

#f18fdf text on a black background

contrast 9.73:1

Card sample

#f18fdf text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f18fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f18fdf in the Color Lab