Skip to content
Vectorlight.net

#d313bc

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

HEX
#d313bc
RGB
211, 19, 188
HSL
307.19°, 83.48%, 45.1%
OKLCH
0.6 0.26 334.58
Names
—
Lists

Codes

FormatValue
HEX#d313bc
RGBrgb(211 19 188)
HSLhsl(307.19 83.48% 45.1%)
OKLCHoklch(0.6 0.26 334.58)
CMYKcmyk(0% 91% 10.9% 17.25%)
Android#ffd313bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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