Skip to content
Vectorlight.net

#af314e

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

HEX
#af314e
RGB
175, 49, 78
HSL
346.19°, 56.25%, 43.92%
OKLCH
0.51 0.16 11.66
Names
—
Lists

Codes

FormatValue
HEX#af314e
RGBrgb(175 49 78)
HSLhsl(346.19 56.25% 43.92%)
OKLCHoklch(0.51 0.16 11.66)
CMYKcmyk(0% 72% 55.43% 31.37%)
Android#ffaf314e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#af314e"
Gradient stop
<stop stop-color="#af314e"/>
CSS variable + fill
:root { --c: #af314e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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