Skip to content
Vectorlight.net

#d340bc

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

HEX
#d340bc
RGB
211, 64, 188
HSL
309.39°, 62.55%, 53.92%
OKLCH
0.63 0.22 334.93
Names
—
Lists

Codes

FormatValue
HEX#d340bc
RGBrgb(211 64 188)
HSLhsl(309.39 62.55% 53.92%)
OKLCHoklch(0.63 0.22 334.93)
CMYKcmyk(0% 69.67% 10.9% 17.25%)
Android#ffd340bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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