Skip to content
Vectorlight.net

#db397a

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

HEX
#db397a
RGB
219, 57, 122
HSL
335.93°, 69.23%, 54.12%
OKLCH
0.61 0.2 1.24
Names
—
Lists

Codes

FormatValue
HEX#db397a
RGBrgb(219 57 122)
HSLhsl(335.93 69.23% 54.12%)
OKLCHoklch(0.61 0.2 1.24)
CMYKcmyk(0% 73.97% 44.29% 14.12%)
Android#ffdb397a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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