Skip to content
Vectorlight.net

#db3178

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

HEX
#db3178
RGB
219, 49, 120
HSL
334.94°, 70.25%, 52.55%
OKLCH
0.6 0.21 1.12
Names
—
Lists

Codes

FormatValue
HEX#db3178
RGBrgb(219 49 120)
HSLhsl(334.94 70.25% 52.55%)
OKLCHoklch(0.6 0.21 1.12)
CMYKcmyk(0% 77.63% 45.21% 14.12%)
Android#ffdb3178

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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