Skip to content
Vectorlight.net

#db287f

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

HEX
#db287f
RGB
219, 40, 127
HSL
330.84°, 71.31%, 50.78%
OKLCH
0.59 0.22 357.61
Names
—
Lists

Codes

FormatValue
HEX#db287f
RGBrgb(219 40 127)
HSLhsl(330.84 71.31% 50.78%)
OKLCHoklch(0.59 0.22 357.61)
CMYKcmyk(0% 81.74% 42.01% 14.12%)
Android#ffdb287f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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