Skip to content
Vectorlight.net

#d5278e

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

HEX
#d5278e
RGB
213, 39, 142
HSL
324.48°, 69.05%, 49.41%
OKLCH
0.59 0.22 350.57
Names
—
Lists

Codes

FormatValue
HEX#d5278e
RGBrgb(213 39 142)
HSLhsl(324.48 69.05% 49.41%)
OKLCHoklch(0.59 0.22 350.57)
CMYKcmyk(0% 81.69% 33.33% 16.47%)
Android#ffd5278e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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