Skip to content
Vectorlight.net

#d90142

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

HEX
#d90142
RGB
217, 1, 66
HSL
341.94°, 99.08%, 42.75%
OKLCH
0.56 0.22 17.09
Names
—
Lists

Codes

FormatValue
HEX#d90142
RGBrgb(217 1 66)
HSLhsl(341.94 99.08% 42.75%)
OKLCHoklch(0.56 0.22 17.09)
CMYKcmyk(0% 99.54% 69.59% 14.9%)
Android#ffd90142

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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