Skip to content
Vectorlight.net

#db31c8

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

HEX
#db31c8
RGB
219, 49, 200
HSL
306.71°, 70.25%, 52.55%
OKLCH
0.63 0.25 333.33
Names
—
Lists

Codes

FormatValue
HEX#db31c8
RGBrgb(219 49 200)
HSLhsl(306.71 70.25% 52.55%)
OKLCHoklch(0.63 0.25 333.33)
CMYKcmyk(0% 77.63% 8.68% 14.12%)
Android#ffdb31c8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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