Skip to content
Vectorlight.net

#d1387d

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

HEX
#d1387d
RGB
209, 56, 125
HSL
332.94°, 62.45%, 51.96%
OKLCH
0.59 0.2 357.74
Names
—
Lists

Codes

FormatValue
HEX#d1387d
RGBrgb(209 56 125)
HSLhsl(332.94 62.45% 51.96%)
OKLCHoklch(0.59 0.2 357.74)
CMYKcmyk(0% 73.21% 40.19% 18.04%)
Android#ffd1387d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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