Skip to content
Vectorlight.net

#d158af

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

HEX
#d158af
RGB
209, 88, 175
HSL
316.86°, 56.81%, 58.24%
OKLCH
0.64 0.18 339.89
Names
—
Lists

Codes

FormatValue
HEX#d158af
RGBrgb(209 88 175)
HSLhsl(316.86 56.81% 58.24%)
OKLCHoklch(0.64 0.18 339.89)
CMYKcmyk(0% 57.89% 16.27% 18.04%)
Android#ffd158af

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.66:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.72:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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