Skip to content
Vectorlight.net

#d51527

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

HEX
#d51527
RGB
213, 21, 39
HSL
354.38°, 82.05%, 45.88%
OKLCH
0.56 0.22 25.16
Names
—
Lists

Codes

FormatValue
HEX#d51527
RGBrgb(213 21 39)
HSLhsl(354.38 82.05% 45.88%)
OKLCHoklch(0.56 0.22 25.16)
CMYKcmyk(0% 90.14% 81.69% 16.47%)
Android#ffd51527

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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