Skip to content
Vectorlight.net

#db51bc

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

HEX
#db51bc
RGB
219, 81, 188
HSL
313.48°, 65.71%, 58.82%
OKLCH
0.65 0.21 337.66
Names
—
Lists

Codes

FormatValue
HEX#db51bc
RGBrgb(219 81 188)
HSLhsl(313.48 65.71% 58.82%)
OKLCHoklch(0.65 0.21 337.66)
CMYKcmyk(0% 63.01% 14.16% 14.12%)
Android#ffdb51bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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