Skip to content
Vectorlight.net

#ab262e

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

HEX
#ab262e
RGB
171, 38, 46
HSL
356.39°, 63.64%, 40.98%
OKLCH
0.49 0.17 23.29
Names
—
Lists

Codes

FormatValue
HEX#ab262e
RGBrgb(171 38 46)
HSLhsl(356.39 63.64% 40.98%)
OKLCHoklch(0.49 0.17 23.29)
CMYKcmyk(0% 77.78% 73.1% 32.94%)
Android#ffab262e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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