Skip to content
Vectorlight.net

#d21cbb

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

HEX
#d21cbb
RGB
210, 28, 187
HSL
307.58°, 76.47%, 46.67%
OKLCH
0.6 0.25 334.65
Names
—
Lists

Codes

FormatValue
HEX#d21cbb
RGBrgb(210 28 187)
HSLhsl(307.58 76.47% 46.67%)
OKLCHoklch(0.6 0.25 334.65)
CMYKcmyk(0% 86.67% 10.95% 17.65%)
Android#ffd21cbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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