Skip to content

#f2aeac

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

RGB
242, 174, 172
HSL
2°, 73%, 81%
CMYK
0, 28, 29, 5
Luminance
0.5213

Every format

HEX#f2aeac
RGBrgb(242, 174, 172)
HSLhsl(2, 73%, 81%)
CMYKcmyk(0%, 28%, 29%, 5%)
LABlab(77.4 24.6 10.9)
LCHlch(77.4 26.9 24.0)
OKLCHoklch(0.814 0.080 20.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2aeac on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#f2aeac on black: 11.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green68.2%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta28.1%
Yellow28.9%
Key (black)5.1%

Color previews

#f2aeac text on a black background

contrast 11.43:1

Card sample

#f2aeac text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2aeac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2aeac in the Color Lab