Skip to content
Vectorlight.net

#d1127e

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

HEX
#d1127e
RGB
209, 18, 126
HSL
326.07°, 84.14%, 44.51%
OKLCH
0.57 0.23 354.63
Names
—
Lists

Codes

FormatValue
HEX#d1127e
RGBrgb(209 18 126)
HSLhsl(326.07 84.14% 44.51%)
OKLCHoklch(0.57 0.23 354.63)
CMYKcmyk(0% 91.39% 39.71% 18.04%)
Android#ffd1127e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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