Skip to content
Vectorlight.net

#ffafa8

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

HEX
#ffafa8
RGB
255, 175, 168
HSL
4.83°, 100%, 82.94%
OKLCH
0.83 0.1 24.86
Names
—
Lists

Codes

FormatValue
HEX#ffafa8
RGBrgb(255 175 168)
HSLhsl(4.83 100% 82.94%)
OKLCHoklch(0.83 0.1 24.86)
CMYKcmyk(0% 31.37% 34.12% 0%)
Android#ffffafa8

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.75:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.94: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="#ffafa8"
Gradient stop
<stop stop-color="#ffafa8"/>
CSS variable + fill
:root { --c: #ffafa8; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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