Skip to content
Vectorlight.net

#d7002f

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

HEX
#d7002f
RGB
215, 0, 47
HSL
346.88°, 100%, 42.16%
OKLCH
0.56 0.22 22.26
Names
—
Lists

Codes

FormatValue
HEX#d7002f
RGBrgb(215 0 47)
HSLhsl(346.88 100% 42.16%)
OKLCHoklch(0.56 0.22 22.26)
CMYKcmyk(0% 100% 78.14% 15.69%)
Android#ffd7002f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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