Skip to content

#f2aeaf

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

RGB
242, 174, 175
HSL
359°, 72%, 82%
CMYK
0, 28, 28, 5
Luminance
0.5224

Every format

HEX#f2aeaf
RGBrgb(242, 174, 175)
HSLhsl(359, 72%, 82%)
CMYKcmyk(0%, 28%, 28%, 5%)
LABlab(77.4 25.0 9.4)
LCHlch(77.4 26.7 20.6)
OKLCHoklch(0.815 0.080 18.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2aeaf on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#f2aeaf on black: 11.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green68.2%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta28.1%
Yellow27.7%
Key (black)5.1%

Color previews

#f2aeaf text on a black background

contrast 11.45:1

Card sample

#f2aeaf text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2aeaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2aeaf in the Color Lab