Skip to content
Vectorlight.net

#d845bb

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

HEX
#d845bb
RGB
216, 69, 187
HSL
311.84°, 65.33%, 55.88%
OKLCH
0.64 0.22 336.78
Names
—
Lists

Codes

FormatValue
HEX#d845bb
RGBrgb(216 69 187)
HSLhsl(311.84 65.33% 55.88%)
OKLCHoklch(0.64 0.22 336.78)
CMYKcmyk(0% 68.06% 13.43% 15.29%)
Android#ffd845bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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