Skip to content
Vectorlight.net

#d1007c

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

HEX
#d1007c
RGB
209, 0, 124
HSL
324.4°, 100%, 40.98%
OKLCH
0.56 0.23 354.91
Names
—
Lists

Codes

FormatValue
HEX#d1007c
RGBrgb(209 0 124)
HSLhsl(324.4 100% 40.98%)
OKLCHoklch(0.56 0.23 354.91)
CMYKcmyk(0% 100% 40.67% 18.04%)
Android#ffd1007c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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