Skip to content
Vectorlight.net

#ab512f

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

HEX
#ab512f
RGB
171, 81, 47
HSL
16.45°, 56.88%, 42.75%
OKLCH
0.54 0.13 40.55
Names
—
Lists

Codes

FormatValue
HEX#ab512f
RGBrgb(171 81 47)
HSLhsl(16.45 56.88% 42.75%)
OKLCHoklch(0.54 0.13 40.55)
CMYKcmyk(0% 52.63% 72.51% 32.94%)
Android#ffab512f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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