Skip to content
Vectorlight.net

#9d018e

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

HEX
#9d018e
RGB
157, 1, 142
HSL
305.77°, 98.73%, 30.98%
OKLCH
0.48 0.21 333.63
Names
—
Lists

Codes

FormatValue
HEX#9d018e
RGBrgb(157 1 142)
HSLhsl(305.77 98.73% 30.98%)
OKLCHoklch(0.48 0.21 333.63)
CMYKcmyk(0% 99.36% 9.55% 38.43%)
Android#ff9d018e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9d018e;
background-color: #9d018e;
bg-[#9d018e]