Skip to content
Vectorlight.net

#d102ab

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

HEX
#d102ab
RGB
209, 2, 171
HSL
311.01°, 98.1%, 41.37%
OKLCH
0.58 0.25 339.05
Names
—
Lists

Codes

FormatValue
HEX#d102ab
RGBrgb(209 2 171)
HSLhsl(311.01 98.1% 41.37%)
OKLCHoklch(0.58 0.25 339.05)
CMYKcmyk(0% 99.04% 18.18% 18.04%)
Android#ffd102ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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