Skip to content
Vectorlight.net

#d156c2

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

HEX
#d156c2
RGB
209, 86, 194
HSL
307.32°, 57.21%, 57.84%
OKLCH
0.65 0.2 332.62
Names
—
Lists

Codes

FormatValue
HEX#d156c2
RGBrgb(209 86 194)
HSLhsl(307.32 57.21% 57.84%)
OKLCHoklch(0.65 0.2 332.62)
CMYKcmyk(0% 58.85% 7.18% 18.04%)
Android#ffd156c2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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