Skip to content
Vectorlight.net

#cd5fab

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

HEX
#cd5fab
RGB
205, 95, 171
HSL
318.55°, 52.38%, 58.82%
OKLCH
0.64 0.16 340.82
Names
—
Lists

Codes

FormatValue
HEX#cd5fab
RGBrgb(205 95 171)
HSLhsl(318.55 52.38% 58.82%)
OKLCHoklch(0.64 0.16 340.82)
CMYKcmyk(0% 53.66% 16.59% 19.61%)
Android#ffcd5fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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