Skip to content

#f40ace

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

RGB
244, 10, 206
HSL
310°, 92%, 50%
CMYK
0, 96, 16, 4
Luminance
0.2391

Every format

HEX#f40ace
RGBrgb(244, 10, 206)
HSLhsl(310, 92%, 50%)
CMYKcmyk(0%, 96%, 16%, 4%)
LABlab(56.0 89.4 -40.2)
LCHlch(56.0 98.0 335.8)
OKLCHoklch(0.659 0.287 337.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f40ace on white: 3.63:1
AA ✗ fail · AA-large · AAA
Aa
#f40ace on black: 5.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green3.9%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta95.9%
Yellow15.6%
Key (black)4.3%

Color previews

#f40ace text on a black background

contrast 5.78:1

Card sample

#f40ace text on a white background

contrast 3.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f40ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f40ace in the Color Lab