Skip to content
Vectorlight.net

#d300ba

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

HEX
#d300ba
RGB
211, 0, 186
HSL
307.11°, 100%, 41.37%
OKLCH
0.59 0.26 335.11
Names
—
Lists

Codes

FormatValue
HEX#d300ba
RGBrgb(211 0 186)
HSLhsl(307.11 100% 41.37%)
OKLCHoklch(0.59 0.26 335.11)
CMYKcmyk(0% 100% 11.85% 17.25%)
Android#ffd300ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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