Skip to content
Vectorlight.net

#d5271c

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

HEX
#d5271c
RGB
213, 39, 28
HSL
3.57°, 76.76%, 47.25%
OKLCH
0.56 0.21 29.28
Names
—
Lists

Codes

FormatValue
HEX#d5271c
RGBrgb(213 39 28)
HSLhsl(3.57 76.76% 47.25%)
OKLCHoklch(0.56 0.21 29.28)
CMYKcmyk(0% 81.69% 86.85% 16.47%)
Android#ffd5271c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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