Skip to content
Vectorlight.net

#d4528e

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

HEX
#d4528e
RGB
212, 82, 142
HSL
332.31°, 60.19%, 57.65%
OKLCH
0.63 0.17 354.62
Names
—
Lists

Codes

FormatValue
HEX#d4528e
RGBrgb(212 82 142)
HSLhsl(332.31 60.19% 57.65%)
OKLCHoklch(0.63 0.17 354.62)
CMYKcmyk(0% 61.32% 33.02% 16.86%)
Android#ffd4528e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.89:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.39:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#d4528e"
Gradient stop
<stop stop-color="#d4528e"/>
CSS variable + fill
:root { --c: #d4528e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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