Skip to content
Vectorlight.net

#a5191b

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

HEX
#a5191b
RGB
165, 25, 27
HSL
359.14°, 73.68%, 37.25%
OKLCH
0.47 0.17 26.86
Names
—
Lists

Codes

FormatValue
HEX#a5191b
RGBrgb(165 25 27)
HSLhsl(359.14 73.68% 37.25%)
OKLCHoklch(0.47 0.17 26.86)
CMYKcmyk(0% 84.85% 83.64% 35.29%)
Android#ffa5191b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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