Skip to content
Vectorlight.net

#d477cc

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

HEX
#d477cc
RGB
212, 119, 204
HSL
305.16°, 51.96%, 64.9%
OKLCH
0.7 0.16 330.3
Names
—
Lists

Codes

FormatValue
HEX#d477cc
RGBrgb(212 119 204)
HSLhsl(305.16 51.96% 64.9%)
OKLCHoklch(0.7 0.16 330.3)
CMYKcmyk(0% 43.87% 3.77% 16.86%)
Android#ffd477cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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