Skip to content
Vectorlight.net

#d1387f

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

HEX
#d1387f
RGB
209, 56, 127
HSL
332.16°, 62.45%, 51.96%
OKLCH
0.59 0.2 356.9
Names
—
Lists

Codes

FormatValue
HEX#d1387f
RGBrgb(209 56 127)
HSLhsl(332.16 62.45% 51.96%)
OKLCHoklch(0.59 0.2 356.9)
CMYKcmyk(0% 73.21% 39.23% 18.04%)
Android#ffd1387f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.58:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#d1387f"
Gradient stop
<stop stop-color="#d1387f"/>
CSS variable + fill
:root { --c: #d1387f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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