Skip to content
Vectorlight.net

#ffafa1

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#ffafa1
RGB
255, 175, 161
HSL
8.94°, 100%, 81.57%
OKLCH
0.83 0.1 30.24
Names
—
Lists

Codes

FormatValue
HEX#ffafa1
RGBrgb(255 175 161)
HSLhsl(8.94 100% 81.57%)
OKLCHoklch(0.83 0.1 30.24)
CMYKcmyk(0% 31.37% 36.86% 0%)
Android#ffffafa1

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.76:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.89:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#ffafa1"
Gradient stop
<stop stop-color="#ffafa1"/>
CSS variable + fill
:root { --c: #ffafa1; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #ffafa1;
background-color: #ffafa1;
bg-[#ffafa1]