Skip to content
Vectorlight.net

#d7147f

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

HEX
#d7147f
RGB
215, 20, 127
HSL
327.08°, 82.98%, 46.08%
OKLCH
0.58 0.23 355.67
Names
—
Lists

Codes

FormatValue
HEX#d7147f
RGBrgb(215 20 127)
HSLhsl(327.08 82.98% 46.08%)
OKLCHoklch(0.58 0.23 355.67)
CMYKcmyk(0% 90.7% 40.93% 15.69%)
Android#ffd7147f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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