Skip to content
Vectorlight.net

#d318cb

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

HEX
#d318cb
RGB
211, 24, 203
HSL
302.57°, 79.57%, 46.08%
OKLCH
0.61 0.27 330.4
Names
—
Lists

Codes

FormatValue
HEX#d318cb
RGBrgb(211 24 203)
HSLhsl(302.57 79.57% 46.08%)
OKLCHoklch(0.61 0.27 330.4)
CMYKcmyk(0% 88.63% 3.79% 17.25%)
Android#ffd318cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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