Skip to content
Vectorlight.net

#ab262d

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

HEX
#ab262d
RGB
171, 38, 45
HSL
356.84°, 63.64%, 40.98%
OKLCH
0.49 0.17 23.68
Names
—
Lists

Codes

FormatValue
HEX#ab262d
RGBrgb(171 38 45)
HSLhsl(356.84 63.64% 40.98%)
OKLCHoklch(0.49 0.17 23.68)
CMYKcmyk(0% 77.78% 73.68% 32.94%)
Android#ffab262d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.89: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="#ab262d"
Gradient stop
<stop stop-color="#ab262d"/>
CSS variable + fill
:root { --c: #ab262d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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