Skip to content
Vectorlight.net

#d90f2f

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

HEX
#d90f2f
RGB
217, 15, 47
HSL
350.5°, 87.07%, 45.49%
OKLCH
0.56 0.22 23.07
Names
—
Lists

Codes

FormatValue
HEX#d90f2f
RGBrgb(217 15 47)
HSLhsl(350.5 87.07% 45.49%)
OKLCHoklch(0.56 0.22 23.07)
CMYKcmyk(0% 93.09% 78.34% 14.9%)
Android#ffd90f2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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