Skip to content
Vectorlight.net

#d1008a

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

HEX
#d1008a
RGB
209, 0, 138
HSL
320.38°, 100%, 40.98%
OKLCH
0.57 0.24 349.89
Names
—
Lists

Codes

FormatValue
HEX#d1008a
RGBrgb(209 0 138)
HSLhsl(320.38 100% 40.98%)
OKLCHoklch(0.57 0.24 349.89)
CMYKcmyk(0% 100% 33.97% 18.04%)
Android#ffd1008a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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