Skip to content
Vectorlight.net

#a8237f

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

HEX
#a8237f
RGB
168, 35, 127
HSL
318.5°, 65.52%, 39.8%
OKLCH
0.51 0.19 343.82
Names
—
Lists

Codes

FormatValue
HEX#a8237f
RGBrgb(168 35 127)
HSLhsl(318.5 65.52% 39.8%)
OKLCHoklch(0.51 0.19 343.82)
CMYKcmyk(0% 79.17% 24.4% 34.12%)
Android#ffa8237f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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