Skip to content
Vectorlight.net

#d5302d

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

HEX
#d5302d
RGB
213, 48, 45
HSL
1.07°, 66.67%, 50.59%
OKLCH
0.57 0.2 27.15
Names
—
Lists

Codes

FormatValue
HEX#d5302d
RGBrgb(213 48 45)
HSLhsl(1.07 66.67% 50.59%)
OKLCHoklch(0.57 0.2 27.15)
CMYKcmyk(0% 77.46% 78.87% 16.47%)
Android#ffd5302d

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

Recolor an SVG with this color

CSS

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