Skip to content

#ffafac

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

RGB
255, 175, 172
HSL
2°, 100%, 84%
CMYK
0, 31, 33, 0
Luminance
0.5490

Every format

HEX#ffafac
RGBrgb(255, 175, 172)
HSLhsl(2, 100%, 84%)
CMYKcmyk(0%, 31%, 33%, 0%)
LABlab(79.0 28.9 13.4)
LCHlch(79.0 31.8 24.9)
OKLCHoklch(0.830 0.094 21.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffafac on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#ffafac on black: 11.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green68.6%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow32.5%
Key (black)0.0%

Color previews

#ffafac text on a black background

contrast 11.98:1

Card sample

#ffafac text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffafac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffafac in the Color Lab