Skip to content
Vectorlight.net

#d21bdf

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

HEX
#d21bdf
RGB
210, 27, 223
HSL
296.02°, 78.4%, 49.02%
OKLCH
0.62 0.28 324.97
Names
—
Lists

Codes

FormatValue
HEX#d21bdf
RGBrgb(210 27 223)
HSLhsl(296.02 78.4% 49.02%)
OKLCHoklch(0.62 0.28 324.97)
CMYKcmyk(5.83% 87.89% 0% 12.55%)
Android#ffd21bdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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