Skip to content
Vectorlight.net

#f0a4cf

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

HEX
#f0a4cf
RGB
240, 164, 207
HSL
326.05°, 71.7%, 79.22%
OKLCH
0.8 0.1 344.75
Names
—
Lists

Codes

FormatValue
HEX#f0a4cf
RGBrgb(240 164 207)
HSLhsl(326.05 71.7% 79.22%)
OKLCHoklch(0.8 0.1 344.75)
CMYKcmyk(0% 31.67% 13.75% 5.88%)
Android#fff0a4cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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