Skip to content
Vectorlight.net

#d50489

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

HEX
#d50489
RGB
213, 4, 137
HSL
321.82°, 96.31%, 42.55%
OKLCH
0.58 0.24 351.25
Names
—
Lists

Codes

FormatValue
HEX#d50489
RGBrgb(213 4 137)
HSLhsl(321.82 96.31% 42.55%)
OKLCHoklch(0.58 0.24 351.25)
CMYKcmyk(0% 98.12% 35.68% 16.47%)
Android#ffd50489

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

Recolor an SVG with this color

CSS

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