Skip to content
Vectorlight.net

#d251cd

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

HEX
#d251cd
RGB
210, 81, 205
HSL
302.33°, 58.9%, 57.06%
OKLCH
0.65 0.22 329.28
Names
—
Lists

Codes

FormatValue
HEX#d251cd
RGBrgb(210 81 205)
HSLhsl(302.33 58.9% 57.06%)
OKLCHoklch(0.65 0.22 329.28)
CMYKcmyk(0% 61.43% 2.38% 17.65%)
Android#ffd251cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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