Skip to content
Vectorlight.net

#d1387a

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

HEX
#d1387a
RGB
209, 56, 122
HSL
334.12°, 62.45%, 51.96%
OKLCH
0.59 0.2 359.02
Names
—
Lists

Codes

FormatValue
HEX#d1387a
RGBrgb(209 56 122)
HSLhsl(334.12 62.45% 51.96%)
OKLCHoklch(0.59 0.2 359.02)
CMYKcmyk(0% 73.21% 41.63% 18.04%)
Android#ffd1387a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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