Skip to content
Vectorlight.net

#d1158d

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

HEX
#d1158d
RGB
209, 21, 141
HSL
321.7°, 81.74%, 45.1%
OKLCH
0.57 0.23 349.25
Names
—
Lists

Codes

FormatValue
HEX#d1158d
RGBrgb(209 21 141)
HSLhsl(321.7 81.74% 45.1%)
OKLCHoklch(0.57 0.23 349.25)
CMYKcmyk(0% 89.95% 32.54% 18.04%)
Android#ffd1158d

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="#d1158d"
Gradient stop
<stop stop-color="#d1158d"/>
CSS variable + fill
:root { --c: #d1158d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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