Skip to content
Vectorlight.net

#d161ba

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

HEX
#d161ba
RGB
209, 97, 186
HSL
312.32°, 54.9%, 60%
OKLCH
0.66 0.18 335.91
Names
—
Lists

Codes

FormatValue
HEX#d161ba
RGBrgb(209 97 186)
HSLhsl(312.32 54.9% 60%)
OKLCHoklch(0.66 0.18 335.91)
CMYKcmyk(0% 53.59% 11% 18.04%)
Android#ffd161ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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