Skip to content
Vectorlight.net

#d848bc

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

HEX
#d848bc
RGB
216, 72, 188
HSL
311.67°, 64.86%, 56.47%
OKLCH
0.64 0.22 336.52
Names
—
Lists

Codes

FormatValue
HEX#d848bc
RGBrgb(216 72 188)
HSLhsl(311.67 64.86% 56.47%)
OKLCHoklch(0.64 0.22 336.52)
CMYKcmyk(0% 66.67% 12.96% 15.29%)
Android#ffd848bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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