Skip to content
Vectorlight.net

#d874bc

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

HEX
#d874bc
RGB
216, 116, 188
HSL
316.8°, 56.18%, 65.1%
OKLCH
0.69 0.15 338.7
Names
—
Lists

Codes

FormatValue
HEX#d874bc
RGBrgb(216 116 188)
HSLhsl(316.8 56.18% 65.1%)
OKLCHoklch(0.69 0.15 338.7)
CMYKcmyk(0% 46.3% 12.96% 15.29%)
Android#ffd874bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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