Skip to content
Vectorlight.net

#d4008a

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

HEX
#d4008a
RGB
212, 0, 138
HSL
320.94°, 100%, 41.57%
OKLCH
0.57 0.24 350.6
Names
—
Lists

Codes

FormatValue
HEX#d4008a
RGBrgb(212 0 138)
HSLhsl(320.94 100% 41.57%)
OKLCHoklch(0.57 0.24 350.6)
CMYKcmyk(0% 100% 34.91% 16.86%)
Android#ffd4008a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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