Skip to content
Vectorlight.net

#cd198a

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

HEX
#cd198a
RGB
205, 25, 138
HSL
322.33°, 78.26%, 45.1%
OKLCH
0.57 0.23 349.47
Names
—
Lists

Codes

FormatValue
HEX#cd198a
RGBrgb(205 25 138)
HSLhsl(322.33 78.26% 45.1%)
OKLCHoklch(0.57 0.23 349.47)
CMYKcmyk(0% 87.8% 32.68% 19.61%)
Android#ffcd198a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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