Skip to content
Vectorlight.net

#d300ab

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

HEX
#d300ab
RGB
211, 0, 171
HSL
311.37°, 100%, 41.37%
OKLCH
0.59 0.26 339.55
Names
—
Lists

Codes

FormatValue
HEX#d300ab
RGBrgb(211 0 171)
HSLhsl(311.37 100% 41.37%)
OKLCHoklch(0.59 0.26 339.55)
CMYKcmyk(0% 100% 18.96% 17.25%)
Android#ffd300ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.81:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.35:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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