Skip to content
Vectorlight.net

#d78bab

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

HEX
#d78bab
RGB
215, 139, 171
HSL
334.74°, 48.72%, 69.41%
OKLCH
0.72 0.1 353.06
Names
—
Lists

Codes

FormatValue
HEX#d78bab
RGBrgb(215 139 171)
HSLhsl(334.74 48.72% 69.41%)
OKLCHoklch(0.72 0.1 353.06)
CMYKcmyk(0% 35.35% 20.47% 15.69%)
Android#ffd78bab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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