Skip to content
Vectorlight.net

#d7126a

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

HEX
#d7126a
RGB
215, 18, 106
HSL
333.2°, 84.55%, 45.69%
OKLCH
0.57 0.22 3.39
Names
—
Lists

Codes

FormatValue
HEX#d7126a
RGBrgb(215 18 106)
HSLhsl(333.2 84.55% 45.69%)
OKLCHoklch(0.57 0.22 3.39)
CMYKcmyk(0% 91.63% 50.7% 15.69%)
Android#ffd7126a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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