Skip to content
Vectorlight.net

#db307e

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

HEX
#db307e
RGB
219, 48, 126
HSL
332.63°, 70.37%, 52.35%
OKLCH
0.6 0.21 358.66
Names
—
Lists

Codes

FormatValue
HEX#db307e
RGBrgb(219 48 126)
HSLhsl(332.63 70.37% 52.35%)
OKLCHoklch(0.6 0.21 358.66)
CMYKcmyk(0% 78.08% 42.47% 14.12%)
Android#ffdb307e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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