Skip to content
Vectorlight.net

#a5231e

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

HEX
#a5231e
RGB
165, 35, 30
HSL
2.22°, 69.23%, 38.24%
OKLCH
0.47 0.17 27.96
Names
—
Lists

Codes

FormatValue
HEX#a5231e
RGBrgb(165 35 30)
HSLhsl(2.22 69.23% 38.24%)
OKLCHoklch(0.47 0.17 27.96)
CMYKcmyk(0% 78.79% 81.82% 35.29%)
Android#ffa5231e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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