Skip to content
Vectorlight.net

#cd789a

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

HEX
#cd789a
RGB
205, 120, 154
HSL
336°, 45.95%, 63.73%
OKLCH
0.67 0.11 355.09
Names
—
Lists

Codes

FormatValue
HEX#cd789a
RGBrgb(205 120 154)
HSLhsl(336 45.95% 63.73%)
OKLCHoklch(0.67 0.11 355.09)
CMYKcmyk(0% 41.46% 24.88% 19.61%)
Android#ffcd789a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.11:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.74:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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