Skip to content
Vectorlight.net

#a7255b

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

HEX
#a7255b
RGB
167, 37, 91
HSL
335.08°, 63.73%, 40%
OKLCH
0.49 0.17 0.94
Names
—
Lists

Codes

FormatValue
HEX#a7255b
RGBrgb(167 37 91)
HSLhsl(335.08 63.73% 40%)
OKLCHoklch(0.49 0.17 0.94)
CMYKcmyk(0% 77.84% 45.51% 34.51%)
Android#ffa7255b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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