Skip to content
Vectorlight.net

#d4315f

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

HEX
#d4315f
RGB
212, 49, 95
HSL
343.07°, 65.46%, 51.18%
OKLCH
0.58 0.2 9.95
Names
—
Lists

Codes

FormatValue
HEX#d4315f
RGBrgb(212 49 95)
HSLhsl(343.07 65.46% 51.18%)
OKLCHoklch(0.58 0.2 9.95)
CMYKcmyk(0% 76.89% 55.19% 16.86%)
Android#ffd4315f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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