Skip to content
Vectorlight.net

#d50197

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

HEX
#d50197
RGB
213, 1, 151
HSL
317.55°, 99.07%, 41.96%
OKLCH
0.58 0.24 346.43
Names
—
Lists

Codes

FormatValue
HEX#d50197
RGBrgb(213 1 151)
HSLhsl(317.55 99.07% 41.96%)
OKLCHoklch(0.58 0.24 346.43)
CMYKcmyk(0% 99.53% 29.11% 16.47%)
Android#ffd50197

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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