Skip to content
Vectorlight.net

#d2172f

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

HEX
#d2172f
RGB
210, 23, 47
HSL
352.3°, 80.26%, 45.69%
OKLCH
0.55 0.21 23.23
Names
—
Lists

Codes

FormatValue
HEX#d2172f
RGBrgb(210 23 47)
HSLhsl(352.3 80.26% 45.69%)
OKLCHoklch(0.55 0.21 23.23)
CMYKcmyk(0% 89.05% 77.62% 17.65%)
Android#ffd2172f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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