Skip to content
Vectorlight.net

#d9012a

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

HEX
#d9012a
RGB
217, 1, 42
HSL
348.61°, 99.08%, 42.75%
OKLCH
0.56 0.23 23.62
Names
—
Lists

Codes

FormatValue
HEX#d9012a
RGBrgb(217 1 42)
HSLhsl(348.61 99.08% 42.75%)
OKLCHoklch(0.56 0.23 23.62)
CMYKcmyk(0% 99.54% 80.65% 14.9%)
Android#ffd9012a

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="#d9012a"
Gradient stop
<stop stop-color="#d9012a"/>
CSS variable + fill
:root { --c: #d9012a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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