Skip to content
Vectorlight.net

#db342a

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

HEX
#db342a
RGB
219, 52, 42
HSL
3.39°, 71.08%, 51.18%
OKLCH
0.59 0.2 28.65
Names
—
Lists

Codes

FormatValue
HEX#db342a
RGBrgb(219 52 42)
HSLhsl(3.39 71.08% 51.18%)
OKLCHoklch(0.59 0.2 28.65)
CMYKcmyk(0% 76.26% 80.82% 14.12%)
Android#ffdb342a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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