Skip to content
Vectorlight.net

#ab0628

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

HEX
#ab0628
RGB
171, 6, 40
HSL
347.64°, 93.22%, 34.71%
OKLCH
0.47 0.19 21.16
Names
—
Lists

Codes

FormatValue
HEX#ab0628
RGBrgb(171 6 40)
HSLhsl(347.64 93.22% 34.71%)
OKLCHoklch(0.47 0.19 21.16)
CMYKcmyk(0% 96.49% 76.61% 32.94%)
Android#ffab0628

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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