Skip to content
Vectorlight.net

#d70299

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

HEX
#d70299
RGB
215, 2, 153
HSL
317.46°, 98.16%, 42.55%
OKLCH
0.58 0.25 346.26
Names
—
Lists

Codes

FormatValue
HEX#d70299
RGBrgb(215 2 153)
HSLhsl(317.46 98.16% 42.55%)
OKLCHoklch(0.58 0.25 346.26)
CMYKcmyk(0% 99.07% 28.84% 15.69%)
Android#ffd70299

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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