Skip to content
Vectorlight.net

#d7245f

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

HEX
#d7245f
RGB
215, 36, 95
HSL
340.22°, 71.31%, 49.22%
OKLCH
0.58 0.21 8.84
Names
—
Lists

Codes

FormatValue
HEX#d7245f
RGBrgb(215 36 95)
HSLhsl(340.22 71.31% 49.22%)
OKLCHoklch(0.58 0.21 8.84)
CMYKcmyk(0% 83.26% 55.81% 15.69%)
Android#ffd7245f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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