Skip to content
Vectorlight.net

#db397e

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

HEX
#db397e
RGB
219, 57, 126
HSL
334.44°, 69.23%, 54.12%
OKLCH
0.61 0.2 359.61
Names
—
Lists

Codes

FormatValue
HEX#db397e
RGBrgb(219 57 126)
HSLhsl(334.44 69.23% 54.12%)
OKLCHoklch(0.61 0.2 359.61)
CMYKcmyk(0% 73.97% 42.47% 14.12%)
Android#ffdb397e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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