Skip to content
Vectorlight.net

#d340bd

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

HEX
#d340bd
RGB
211, 64, 189
HSL
308.98°, 62.55%, 53.92%
OKLCH
0.63 0.22 334.61
Names
—
Lists

Codes

FormatValue
HEX#d340bd
RGBrgb(211 64 189)
HSLhsl(308.98 62.55% 53.92%)
OKLCHoklch(0.63 0.22 334.61)
CMYKcmyk(0% 69.67% 10.43% 17.25%)
Android#ffd340bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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