Skip to content
Vectorlight.net

#d306aa

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

HEX
#d306aa
RGB
211, 6, 170
HSL
312°, 94.47%, 42.55%
OKLCH
0.59 0.25 339.89
Names
—
Lists

Codes

FormatValue
HEX#d306aa
RGBrgb(211 6 170)
HSLhsl(312 94.47% 42.55%)
OKLCHoklch(0.59 0.25 339.89)
CMYKcmyk(0% 97.16% 19.43% 17.25%)
Android#ffd306aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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