Skip to content
Vectorlight.net

#db287a

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

HEX
#db287a
RGB
219, 40, 122
HSL
332.51°, 71.31%, 50.78%
OKLCH
0.59 0.22 359.52
Names
—
Lists

Codes

FormatValue
HEX#db287a
RGBrgb(219 40 122)
HSLhsl(332.51 71.31% 50.78%)
OKLCHoklch(0.59 0.22 359.52)
CMYKcmyk(0% 81.74% 44.29% 14.12%)
Android#ffdb287a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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