Skip to content
Vectorlight.net

#d4315a

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

HEX
#d4315a
RGB
212, 49, 90
HSL
344.91°, 65.46%, 51.18%
OKLCH
0.58 0.2 11.97
Names
—
Lists

Codes

FormatValue
HEX#d4315a
RGBrgb(212 49 90)
HSLhsl(344.91 65.46% 51.18%)
OKLCHoklch(0.58 0.2 11.97)
CMYKcmyk(0% 76.89% 57.55% 16.86%)
Android#ffd4315a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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