Skip to content
Vectorlight.net

#d400cc

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

HEX
#d400cc
RGB
212, 0, 204
HSL
302.26°, 100%, 41.57%
OKLCH
0.61 0.28 330.43
Names
—
Lists

Codes

FormatValue
HEX#d400cc
RGBrgb(212 0 204)
HSLhsl(302.26 100% 41.57%)
OKLCHoklch(0.61 0.28 330.43)
CMYKcmyk(0% 100% 3.77% 16.86%)
Android#ffd400cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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