Skip to content
Vectorlight.net

#d1252d

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

HEX
#d1252d
RGB
209, 37, 45
HSL
357.21°, 69.92%, 48.24%
OKLCH
0.56 0.21 25.28
Names
—
Lists

Codes

FormatValue
HEX#d1252d
RGBrgb(209 37 45)
HSLhsl(357.21 69.92% 48.24%)
OKLCHoklch(0.56 0.21 25.28)
CMYKcmyk(0% 82.3% 78.47% 18.04%)
Android#ffd1252d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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