Skip to content
Vectorlight.net

#d1017f

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

HEX
#d1017f
RGB
209, 1, 127
HSL
323.65°, 99.05%, 41.18%
OKLCH
0.56 0.23 353.84
Names
—
Lists

Codes

FormatValue
HEX#d1017f
RGBrgb(209 1 127)
HSLhsl(323.65 99.05% 41.18%)
OKLCHoklch(0.56 0.23 353.84)
CMYKcmyk(0% 99.52% 39.23% 18.04%)
Android#ffd1017f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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