Skip to content
Vectorlight.net

#ab262b

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

HEX
#ab262b
RGB
171, 38, 43
HSL
357.74°, 63.64%, 40.98%
OKLCH
0.49 0.17 24.43
Names
—
Lists

Codes

FormatValue
HEX#ab262b
RGBrgb(171 38 43)
HSLhsl(357.74 63.64% 40.98%)
OKLCHoklch(0.49 0.17 24.43)
CMYKcmyk(0% 77.78% 74.85% 32.94%)
Android#ffab262b

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

Recolor an SVG with this color

CSS

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