Skip to content

#f2aaaf

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

RGB
242, 170, 175
HSL
356°, 74%, 81%
CMYK
0, 30, 28, 5
Luminance
0.5072

Every format

HEX#f2aaaf
RGBrgb(242, 170, 175)
HSLhsl(356, 74%, 81%)
CMYKcmyk(0%, 30%, 28%, 5%)
LABlab(76.5 27.1 8.1)
LCHlch(76.5 28.3 16.6)
OKLCHoklch(0.808 0.085 14.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2aaaf on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#f2aaaf on black: 11.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green66.7%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta29.8%
Yellow27.7%
Key (black)5.1%

Color previews

#f2aaaf text on a black background

contrast 11.14:1

Card sample

#f2aaaf text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2aaaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2aaaf in the Color Lab