Skip to content
Vectorlight.net

#ffafc8

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

HEX
#ffafc8
RGB
255, 175, 200
HSL
341.25°, 100%, 84.31%
OKLCH
0.84 0.1 359.09
Names
—
Lists

Codes

FormatValue
HEX#ffafc8
RGBrgb(255 175 200)
HSLhsl(341.25 100% 84.31%)
OKLCHoklch(0.84 0.1 359.09)
CMYKcmyk(0% 31.37% 21.57% 0%)
Android#ffffafc8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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