Skip to content
Vectorlight.net

#db42aa

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

HEX
#db42aa
RGB
219, 66, 170
HSL
319.22°, 68%, 55.88%
OKLCH
0.63 0.22 343.38
Names
—
Lists

Codes

FormatValue
HEX#db42aa
RGBrgb(219 66 170)
HSLhsl(319.22 68% 55.88%)
OKLCHoklch(0.63 0.22 343.38)
CMYKcmyk(0% 69.86% 22.37% 14.12%)
Android#ffdb42aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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