Skip to content
Vectorlight.net

#d82e2a

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

HEX
#d82e2a
RGB
216, 46, 42
HSL
1.38°, 69.05%, 50.59%
OKLCH
0.58 0.21 27.57
Names
—
Lists

Codes

FormatValue
HEX#d82e2a
RGBrgb(216 46 42)
HSLhsl(1.38 69.05% 50.59%)
OKLCHoklch(0.58 0.21 27.57)
CMYKcmyk(0% 78.7% 80.56% 15.29%)
Android#ffd82e2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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