Skip to content

#f07598

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

RGB
240, 117, 152
HSL
343°, 80%, 70%
CMYK
0, 51, 37, 6
Luminance
0.3351

Every format

HEX#f07598
RGBrgb(240, 117, 152)
HSLhsl(343, 80%, 70%)
CMYKcmyk(0%, 51%, 37%, 6%)
LABlab(64.6 50.8 3.7)
LCHlch(64.6 50.9 4.2)
OKLCHoklch(0.715 0.155 3.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f07598 on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#f07598 on black: 7.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green45.9%
Blue59.6%

CMYK percentages

Cyan0.0%
Magenta51.3%
Yellow36.7%
Key (black)5.9%

Color previews

#f07598 text on a black background

contrast 7.70:1

Card sample

#f07598 text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f07598

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f07598 in the Color Lab