Skip to content
Vectorlight.net

#d90097

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

HEX
#d90097
RGB
217, 0, 151
HSL
318.25°, 100%, 42.55%
OKLCH
0.59 0.25 347.37
Names
—
Lists

Codes

FormatValue
HEX#d90097
RGBrgb(217 0 151)
HSLhsl(318.25 100% 42.55%)
OKLCHoklch(0.59 0.25 347.37)
CMYKcmyk(0% 100% 30.41% 14.9%)
Android#ffd90097

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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