Skip to content
Vectorlight.net

#d310cb

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

HEX
#d310cb
RGB
211, 16, 203
HSL
302.46°, 85.9%, 44.51%
OKLCH
0.61 0.27 330.42
Names
—
Lists

Codes

FormatValue
HEX#d310cb
RGBrgb(211 16 203)
HSLhsl(302.46 85.9% 44.51%)
OKLCHoklch(0.61 0.27 330.42)
CMYKcmyk(0% 92.42% 3.79% 17.25%)
Android#ffd310cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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