Skip to content
Vectorlight.net

#9d126e

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

HEX
#9d126e
RGB
157, 18, 110
HSL
320.29°, 79.43%, 34.31%
OKLCH
0.47 0.19 347.07
Names
—
Lists

Codes

FormatValue
HEX#9d126e
RGBrgb(157 18 110)
HSLhsl(320.29 79.43% 34.31%)
OKLCHoklch(0.47 0.19 347.07)
CMYKcmyk(0% 88.54% 29.94% 38.43%)
Android#ff9d126e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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