Skip to content

#f07cb4

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

RGB
240, 124, 180
HSL
331°, 80%, 71%
CMYK
0, 48, 25, 6
Luminance
0.3624

Every format

HEX#f07cb4
RGBrgb(240, 124, 180)
HSLhsl(331, 80%, 71%)
CMYKcmyk(0%, 48%, 25%, 6%)
LABlab(66.7 50.8 -9.1)
LCHlch(66.7 51.6 349.9)
OKLCHoklch(0.733 0.155 351.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f07cb4 on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#f07cb4 on black: 8.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green48.6%
Blue70.6%

CMYK percentages

Cyan0.0%
Magenta48.3%
Yellow25.0%
Key (black)5.9%

Color previews

#f07cb4 text on a black background

contrast 8.25:1

Card sample

#f07cb4 text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f07cb4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f07cb4 in the Color Lab