Skip to content
Vectorlight.net

#d2252a

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

HEX
#d2252a
RGB
210, 37, 42
HSL
358.27°, 70.04%, 48.43%
OKLCH
0.56 0.21 26.07
Names
—
Lists

Codes

FormatValue
HEX#d2252a
RGBrgb(210 37 42)
HSLhsl(358.27 70.04% 48.43%)
OKLCHoklch(0.56 0.21 26.07)
CMYKcmyk(0% 82.38% 80% 17.65%)
Android#ffd2252a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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