Skip to content
Vectorlight.net

#d9002e

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

HEX
#d9002e
RGB
217, 0, 46
HSL
347.28°, 100%, 42.55%
OKLCH
0.56 0.23 22.64
Names
—
Lists

Codes

FormatValue
HEX#d9002e
RGBrgb(217 0 46)
HSLhsl(347.28 100% 42.55%)
OKLCHoklch(0.56 0.23 22.64)
CMYKcmyk(0% 100% 78.8% 14.9%)
Android#ffd9002e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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