Skip to content
Vectorlight.net

#db0278

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

HEX
#db0278
RGB
219, 2, 120
HSL
327.37°, 98.19%, 43.33%
OKLCH
0.58 0.23 358.56
Names
—
Lists

Codes

FormatValue
HEX#db0278
RGBrgb(219 2 120)
HSLhsl(327.37 98.19% 43.33%)
OKLCHoklch(0.58 0.23 358.56)
CMYKcmyk(0% 99.09% 45.21% 14.12%)
Android#ffdb0278

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.89:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.29:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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