Skip to content
Vectorlight.net

#d2178c

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

HEX
#d2178c
RGB
210, 23, 140
HSL
322.46°, 80.26%, 45.69%
OKLCH
0.58 0.23 349.9
Names
—
Lists

Codes

FormatValue
HEX#d2178c
RGBrgb(210 23 140)
HSLhsl(322.46 80.26% 45.69%)
OKLCHoklch(0.58 0.23 349.9)
CMYKcmyk(0% 89.05% 33.33% 17.65%)
Android#ffd2178c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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