Skip to content
Vectorlight.net

#d1198a

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

HEX
#d1198a
RGB
209, 25, 138
HSL
323.15°, 78.63%, 45.88%
OKLCH
0.57 0.23 350.45
Names
—
Lists

Codes

FormatValue
HEX#d1198a
RGBrgb(209 25 138)
HSLhsl(323.15 78.63% 45.88%)
OKLCHoklch(0.57 0.23 350.45)
CMYKcmyk(0% 88.04% 33.97% 18.04%)
Android#ffd1198a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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