Skip to content
Vectorlight.net

#98154e

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

HEX
#98154e
RGB
152, 21, 78
HSL
333.89°, 75.72%, 33.92%
OKLCH
0.45 0.17 1.76
Names
—
Lists

Codes

FormatValue
HEX#98154e
RGBrgb(152 21 78)
HSLhsl(333.89 75.72% 33.92%)
OKLCHoklch(0.45 0.17 1.76)
CMYKcmyk(0% 86.18% 48.68% 40.39%)
Android#ff98154e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #98154e;
background-color: #98154e;
bg-[#98154e]