Skip to content
Vectorlight.net

#db304a

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

HEX
#db304a
RGB
219, 48, 74
HSL
350.88°, 70.37%, 52.35%
OKLCH
0.59 0.2 18.62
Names
—
Lists

Codes

FormatValue
HEX#db304a
RGBrgb(219 48 74)
HSLhsl(350.88 70.37% 52.35%)
OKLCHoklch(0.59 0.2 18.62)
CMYKcmyk(0% 78.08% 66.21% 14.12%)
Android#ffdb304a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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