Skip to content
Vectorlight.net

#d40dcb

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

HEX
#d40dcb
RGB
212, 13, 203
HSL
302.71°, 88.44%, 44.12%
OKLCH
0.61 0.27 330.68
Names
—
Lists

Codes

FormatValue
HEX#d40dcb
RGBrgb(212 13 203)
HSLhsl(302.71 88.44% 44.12%)
OKLCHoklch(0.61 0.27 330.68)
CMYKcmyk(0% 93.87% 4.25% 16.86%)
Android#ffd40dcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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