Skip to content
Vectorlight.net

#cd198b

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

HEX
#cd198b
RGB
205, 25, 139
HSL
322°, 78.26%, 45.1%
OKLCH
0.57 0.23 349.11
Names
—
Lists

Codes

FormatValue
HEX#cd198b
RGBrgb(205 25 139)
HSLhsl(322 78.26% 45.1%)
OKLCHoklch(0.57 0.23 349.11)
CMYKcmyk(0% 87.8% 32.2% 19.61%)
Android#ffcd198b

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

Recolor an SVG with this color

CSS

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