Skip to content
Vectorlight.net

#d40382

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

HEX
#d40382
RGB
212, 3, 130
HSL
323.54°, 97.21%, 42.16%
OKLCH
0.57 0.23 353.48
Names
—
Lists

Codes

FormatValue
HEX#d40382
RGBrgb(212 3 130)
HSLhsl(323.54 97.21% 42.16%)
OKLCHoklch(0.57 0.23 353.48)
CMYKcmyk(0% 98.58% 38.68% 16.86%)
Android#ffd40382

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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