Skip to content

#f08abc

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

RGB
240, 138, 188
HSL
331°, 77%, 74%
CMYK
0, 43, 22, 6
Luminance
0.4033

Every format

HEX#f08abc
RGBrgb(240, 138, 188)
HSLhsl(331, 77%, 74%)
CMYKcmyk(0%, 43%, 22%, 6%)
LABlab(69.7 44.9 -9.1)
LCHlch(69.7 45.8 348.6)
OKLCHoklch(0.757 0.137 350.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f08abc on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#f08abc on black: 9.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green54.1%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta42.5%
Yellow21.7%
Key (black)5.9%

Color previews

#f08abc text on a black background

contrast 9.07:1

Card sample

#f08abc text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f08abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f08abc in the Color Lab