Skip to content
Vectorlight.net

#d4058d

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

HEX
#d4058d
RGB
212, 5, 141
HSL
320.58°, 95.39%, 42.55%
OKLCH
0.58 0.24 349.64
Names
—
Lists

Codes

FormatValue
HEX#d4058d
RGBrgb(212 5 141)
HSLhsl(320.58 95.39% 42.55%)
OKLCHoklch(0.58 0.24 349.64)
CMYKcmyk(0% 97.64% 33.49% 16.86%)
Android#ffd4058d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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