Skip to content
Vectorlight.net

#d300cb

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

HEX
#d300cb
RGB
211, 0, 203
HSL
302.27°, 100%, 41.37%
OKLCH
0.6 0.27 330.44
Names
—
Lists

Codes

FormatValue
HEX#d300cb
RGBrgb(211 0 203)
HSLhsl(302.27 100% 41.37%)
OKLCHoklch(0.6 0.27 330.44)
CMYKcmyk(0% 100% 3.79% 17.25%)
Android#ffd300cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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