Skip to content
Vectorlight.net

#d900c8

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

HEX
#d900c8
RGB
217, 0, 200
HSL
304.7°, 100%, 42.55%
OKLCH
0.61 0.27 332.75
Names
—
Lists

Codes

FormatValue
HEX#d900c8
RGBrgb(217 0 200)
HSLhsl(304.7 100% 42.55%)
OKLCHoklch(0.61 0.27 332.75)
CMYKcmyk(0% 100% 7.83% 14.9%)
Android#ffd900c8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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