Skip to content
Vectorlight.net

#d5047d

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

HEX
#d5047d
RGB
213, 4, 125
HSL
325.26°, 96.31%, 42.55%
OKLCH
0.57 0.23 355.53
Names
—
Lists

Codes

FormatValue
HEX#d5047d
RGBrgb(213 4 125)
HSLhsl(325.26 96.31% 42.55%)
OKLCHoklch(0.57 0.23 355.53)
CMYKcmyk(0% 98.12% 41.31% 16.47%)
Android#ffd5047d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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