Skip to content
Vectorlight.net

#d102ac

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

HEX
#d102ac
RGB
209, 2, 172
HSL
310.72°, 98.1%, 41.37%
OKLCH
0.58 0.25 338.75
Names
—
Lists

Codes

FormatValue
HEX#d102ac
RGBrgb(209 2 172)
HSLhsl(310.72 98.1% 41.37%)
OKLCHoklch(0.58 0.25 338.75)
CMYKcmyk(0% 99.04% 17.7% 18.04%)
Android#ffd102ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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