Skip to content

#f07da8

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

RGB
240, 125, 168
HSL
338°, 79%, 72%
CMYK
0, 48, 30, 6
Luminance
0.3602

Every format

HEX#f07da8
RGBrgb(240, 125, 168)
HSLhsl(338, 79%, 72%)
CMYKcmyk(0%, 48%, 30%, 6%)
LABlab(66.5 48.8 -2.5)
LCHlch(66.5 48.8 357.1)
OKLCHoklch(0.731 0.148 357.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f07da8 on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#f07da8 on black: 8.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green49.0%
Blue65.9%

CMYK percentages

Cyan0.0%
Magenta47.9%
Yellow30.0%
Key (black)5.9%

Color previews

#f07da8 text on a black background

contrast 8.20:1

Card sample

#f07da8 text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f07da8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f07da8 in the Color Lab