Skip to content
Vectorlight.net

#d4318e

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

HEX
#d4318e
RGB
212, 49, 142
HSL
325.77°, 65.46%, 51.18%
OKLCH
0.59 0.21 350.94
Names
—
Lists

Codes

FormatValue
HEX#d4318e
RGBrgb(212 49 142)
HSLhsl(325.77 65.46% 51.18%)
OKLCHoklch(0.59 0.21 350.94)
CMYKcmyk(0% 76.89% 33.02% 16.86%)
Android#ffd4318e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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