Skip to content
Vectorlight.net

#af748e

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

HEX
#af748e
RGB
175, 116, 142
HSL
333.56°, 26.94%, 57.06%
OKLCH
0.63 0.08 351.67
Names
—
Lists

Codes

FormatValue
HEX#af748e
RGBrgb(175 116 142)
HSLhsl(333.56 26.94% 57.06%)
OKLCHoklch(0.63 0.08 351.67)
CMYKcmyk(0% 33.71% 18.86% 31.37%)
Android#ffaf748e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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