Skip to content
Vectorlight.net

#d300af

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

HEX
#d300af
RGB
211, 0, 175
HSL
310.24°, 100%, 41.37%
OKLCH
0.59 0.26 338.34
Names
—
Lists

Codes

FormatValue
HEX#d300af
RGBrgb(211 0 175)
HSLhsl(310.24 100% 41.37%)
OKLCHoklch(0.59 0.26 338.34)
CMYKcmyk(0% 100% 17.06% 17.25%)
Android#ffd300af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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