Skip to content
Vectorlight.net

#d252bc

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

HEX
#d252bc
RGB
210, 82, 188
HSL
310.31°, 58.72%, 57.25%
OKLCH
0.64 0.2 334.99
Names
—
Lists

Codes

FormatValue
HEX#d252bc
RGBrgb(210 82 188)
HSLhsl(310.31 58.72% 57.25%)
OKLCHoklch(0.64 0.2 334.99)
CMYKcmyk(0% 60.95% 10.48% 17.65%)
Android#ffd252bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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