Skip to content
Vectorlight.net

#d1028e

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

HEX
#d1028e
RGB
209, 2, 142
HSL
319.42°, 98.1%, 41.37%
OKLCH
0.57 0.24 348.53
Names
—
Lists

Codes

FormatValue
HEX#d1028e
RGBrgb(209 2 142)
HSLhsl(319.42 98.1% 41.37%)
OKLCHoklch(0.57 0.24 348.53)
CMYKcmyk(0% 99.04% 32.06% 18.04%)
Android#ffd1028e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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