Skip to content

#f07da4

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

RGB
240, 125, 164
HSL
340°, 79%, 72%
CMYK
0, 48, 32, 6
Luminance
0.3587

Every format

HEX#f07da4
RGBrgb(240, 125, 164)
HSLhsl(340, 79%, 72%)
CMYKcmyk(0%, 48%, 32%, 6%)
LABlab(66.4 48.3 -0.4)
LCHlch(66.4 48.3 359.5)
OKLCHoklch(0.730 0.146 359.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f07da4 on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#f07da4 on black: 8.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green49.0%
Blue64.3%

CMYK percentages

Cyan0.0%
Magenta47.9%
Yellow31.7%
Key (black)5.9%

Color previews

#f07da4 text on a black background

contrast 8.17:1

Card sample

#f07da4 text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(240, 125, 164, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 125, 164, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f07da4;
background: linear-gradient(135deg, #f07da4, #F0A37D);

Monochromatic scale

Palettes built from #f07da4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f07da4 in the Color Lab