Skip to content
Vectorlight.net

#d1237a

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

HEX
#d1237a
RGB
209, 35, 122
HSL
330°, 71.31%, 47.84%
OKLCH
0.57 0.21 357
Names
—
Lists

Codes

FormatValue
HEX#d1237a
RGBrgb(209 35 122)
HSLhsl(330 71.31% 47.84%)
OKLCHoklch(0.57 0.21 357)
CMYKcmyk(0% 83.25% 41.63% 18.04%)
Android#ffd1237a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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