Skip to content
Vectorlight.net

#982156

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

HEX
#982156
RGB
152, 33, 86
HSL
333.28°, 64.32%, 36.27%
OKLCH
0.46 0.16 358.91
Names
—
Lists

Codes

FormatValue
HEX#982156
RGBrgb(152 33 86)
HSLhsl(333.28 64.32% 36.27%)
OKLCHoklch(0.46 0.16 358.91)
CMYKcmyk(0% 78.29% 43.42% 40.39%)
Android#ff982156

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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