Skip to content
Vectorlight.net

#d300ca

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

HEX
#d300ca
RGB
211, 0, 202
HSL
302.56°, 100%, 41.37%
OKLCH
0.6 0.27 330.71
Names
—
Lists

Codes

FormatValue
HEX#d300ca
RGBrgb(211 0 202)
HSLhsl(302.56 100% 41.37%)
OKLCHoklch(0.6 0.27 330.71)
CMYKcmyk(0% 100% 4.27% 17.25%)
Android#ffd300ca

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="#d300ca"
Gradient stop
<stop stop-color="#d300ca"/>
CSS variable + fill
:root { --c: #d300ca; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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