Skip to content
Vectorlight.net

#d2117f

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

HEX
#d2117f
RGB
210, 17, 127
HSL
325.8°, 85.02%, 44.51%
OKLCH
0.57 0.23 354.45
Names
—
Lists

Codes

FormatValue
HEX#d2117f
RGBrgb(210 17 127)
HSLhsl(325.8 85.02% 44.51%)
OKLCHoklch(0.57 0.23 354.45)
CMYKcmyk(0% 91.9% 39.52% 17.65%)
Android#ffd2117f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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