Skip to content
Vectorlight.net

#d702af

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

HEX
#d702af
RGB
215, 2, 175
HSL
311.27°, 98.16%, 42.55%
OKLCH
0.6 0.26 339.35
Names
—
Lists

Codes

FormatValue
HEX#d702af
RGBrgb(215 2 175)
HSLhsl(311.27 98.16% 42.55%)
OKLCHoklch(0.6 0.26 339.35)
CMYKcmyk(0% 99.07% 18.6% 15.69%)
Android#ffd702af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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