Skip to content
Vectorlight.net

#d52818

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

HEX
#d52818
RGB
213, 40, 24
HSL
5.08°, 79.75%, 46.47%
OKLCH
0.56 0.21 30.07
Names
—
Lists

Codes

FormatValue
HEX#d52818
RGBrgb(213 40 24)
HSLhsl(5.08 79.75% 46.47%)
OKLCHoklch(0.56 0.21 30.07)
CMYKcmyk(0% 81.22% 88.73% 16.47%)
Android#ffd52818

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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