Skip to content
Vectorlight.net

#d1237c

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

HEX
#d1237c
RGB
209, 35, 124
HSL
329.31°, 71.31%, 47.84%
OKLCH
0.57 0.22 356.22
Names
—
Lists

Codes

FormatValue
HEX#d1237c
RGBrgb(209 35 124)
HSLhsl(329.31 71.31% 47.84%)
OKLCHoklch(0.57 0.22 356.22)
CMYKcmyk(0% 83.25% 40.67% 18.04%)
Android#ffd1237c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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