Skip to content
Vectorlight.net

#d1168c

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

HEX
#d1168c
RGB
209, 22, 140
HSL
322.14°, 80.95%, 45.29%
OKLCH
0.57 0.23 349.63
Names
—
Lists

Codes

FormatValue
HEX#d1168c
RGBrgb(209 22 140)
HSLhsl(322.14 80.95% 45.29%)
OKLCHoklch(0.57 0.23 349.63)
CMYKcmyk(0% 89.47% 33.01% 18.04%)
Android#ffd1168c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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