Skip to content
Vectorlight.net

#cd138c

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

HEX
#cd138c
RGB
205, 19, 140
HSL
320.97°, 83.04%, 43.92%
OKLCH
0.57 0.23 348.57
Names
—
Lists

Codes

FormatValue
HEX#cd138c
RGBrgb(205 19 140)
HSLhsl(320.97 83.04% 43.92%)
OKLCHoklch(0.57 0.23 348.57)
CMYKcmyk(0% 90.73% 31.71% 19.61%)
Android#ffcd138c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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