Skip to content
Vectorlight.net

#db2a7e

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

HEX
#db2a7e
RGB
219, 42, 126
HSL
331.53°, 71.08%, 51.18%
OKLCH
0.6 0.22 358.15
Names
—
Lists

Codes

FormatValue
HEX#db2a7e
RGBrgb(219 42 126)
HSLhsl(331.53 71.08% 51.18%)
OKLCHoklch(0.6 0.22 358.15)
CMYKcmyk(0% 80.82% 42.47% 14.12%)
Android#ffdb2a7e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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