Skip to content
Vectorlight.net

#d9237a

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

HEX
#d9237a
RGB
217, 35, 122
HSL
331.32°, 72.22%, 49.41%
OKLCH
0.59 0.22 358.73
Names
—
Lists

Codes

FormatValue
HEX#d9237a
RGBrgb(217 35 122)
HSLhsl(331.32 72.22% 49.41%)
OKLCHoklch(0.59 0.22 358.73)
CMYKcmyk(0% 83.87% 43.78% 14.9%)
Android#ffd9237a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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