Skip to content
Vectorlight.net

#d5274d

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

HEX
#d5274d
RGB
213, 39, 77
HSL
346.9°, 69.05%, 49.41%
OKLCH
0.57 0.21 15.66
Names
—
Lists

Codes

FormatValue
HEX#d5274d
RGBrgb(213 39 77)
HSLhsl(346.9 69.05% 49.41%)
OKLCHoklch(0.57 0.21 15.66)
CMYKcmyk(0% 81.69% 63.85% 16.47%)
Android#ffd5274d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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