Skip to content

#f2a4af

a light, electric red · warm · closest name: pink

RGB
242, 164, 175
HSL
352°, 75%, 80%
CMYK
0, 32, 28, 5
Luminance
0.4852

Every format

HEX#f2a4af
RGBrgb(242, 164, 175)
HSLhsl(352, 75%, 80%)
CMYKcmyk(0%, 32%, 28%, 5%)
LABlab(75.2 30.3 6.1)
LCHlch(75.2 30.9 11.5)
OKLCHoklch(0.797 0.093 10.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2a4af on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#f2a4af on black: 10.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green64.3%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta32.2%
Yellow27.7%
Key (black)5.1%

Color previews

#f2a4af text on a black background

contrast 10.70:1

Card sample

#f2a4af text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2a4af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2a4af in the Color Lab