Skip to content
Vectorlight.net

#d306ba

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

HEX
#d306ba
RGB
211, 6, 186
HSL
307.32°, 94.47%, 42.55%
OKLCH
0.59 0.26 335.13
Names
—
Lists

Codes

FormatValue
HEX#d306ba
RGBrgb(211 6 186)
HSLhsl(307.32 94.47% 42.55%)
OKLCHoklch(0.59 0.26 335.13)
CMYKcmyk(0% 97.16% 11.85% 17.25%)
Android#ffd306ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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