Skip to content
Vectorlight.net

#d52218

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

HEX
#d52218
RGB
213, 34, 24
HSL
3.17°, 79.75%, 46.47%
OKLCH
0.56 0.21 29.25
Names
—
Lists

Codes

FormatValue
HEX#d52218
RGBrgb(213 34 24)
HSLhsl(3.17 79.75% 46.47%)
OKLCHoklch(0.56 0.21 29.25)
CMYKcmyk(0% 84.04% 88.73% 16.47%)
Android#ffd52218

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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