Skip to content
Vectorlight.net

#d9126e

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

HEX
#d9126e
RGB
217, 18, 110
HSL
332.26°, 84.68%, 46.08%
OKLCH
0.58 0.23 2.29
Names
—
Lists

Codes

FormatValue
HEX#d9126e
RGBrgb(217 18 110)
HSLhsl(332.26 84.68% 46.08%)
OKLCHoklch(0.58 0.23 2.29)
CMYKcmyk(0% 91.71% 49.31% 14.9%)
Android#ffd9126e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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