Skip to content
Vectorlight.net

#af278f

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

HEX
#af278f
RGB
175, 39, 143
HSL
314.12°, 63.55%, 41.96%
OKLCH
0.53 0.2 339.59
Names
—
Lists

Codes

FormatValue
HEX#af278f
RGBrgb(175 39 143)
HSLhsl(314.12 63.55% 41.96%)
OKLCHoklch(0.53 0.2 339.59)
CMYKcmyk(0% 77.71% 18.29% 31.37%)
Android#ffaf278f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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