Skip to content
Vectorlight.net

#d3115f

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

HEX
#d3115f
RGB
211, 17, 95
HSL
335.88°, 85.09%, 44.71%
OKLCH
0.56 0.22 6.76
Names
—
Lists

Codes

FormatValue
HEX#d3115f
RGBrgb(211 17 95)
HSLhsl(335.88 85.09% 44.71%)
OKLCHoklch(0.56 0.22 6.76)
CMYKcmyk(0% 91.94% 54.98% 17.25%)
Android#ffd3115f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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