Skip to content
Vectorlight.net

#db1fa1

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

HEX
#db1fa1
RGB
219, 31, 161
HSL
318.51°, 75.2%, 49.02%
OKLCH
0.6 0.24 345.09
Names
—
Lists

Codes

FormatValue
HEX#db1fa1
RGBrgb(219 31 161)
HSLhsl(318.51 75.2% 49.02%)
OKLCHoklch(0.6 0.24 345.09)
CMYKcmyk(0% 85.84% 26.48% 14.12%)
Android#ffdb1fa1

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="#db1fa1"
Gradient stop
<stop stop-color="#db1fa1"/>
CSS variable + fill
:root { --c: #db1fa1; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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