Skip to content
Vectorlight.net

#ad128f

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

HEX
#ad128f
RGB
173, 18, 143
HSL
311.61°, 81.15%, 37.45%
OKLCH
0.51 0.21 338.53
Names
—
Lists

Codes

FormatValue
HEX#ad128f
RGBrgb(173 18 143)
HSLhsl(311.61 81.15% 37.45%)
OKLCHoklch(0.51 0.21 338.53)
CMYKcmyk(0% 89.6% 17.34% 32.16%)
Android#ffad128f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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