Skip to content
Vectorlight.net

#d712b4

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

HEX
#d712b4
RGB
215, 18, 180
HSL
310.66°, 84.55%, 45.69%
OKLCH
0.6 0.26 337.94
Names
—
Lists

Codes

FormatValue
HEX#d712b4
RGBrgb(215 18 180)
HSLhsl(310.66 84.55% 45.69%)
OKLCHoklch(0.6 0.26 337.94)
CMYKcmyk(0% 91.63% 16.28% 15.69%)
Android#ffd712b4

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.63:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#d712b4"
Gradient stop
<stop stop-color="#d712b4"/>
CSS variable + fill
:root { --c: #d712b4; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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