Skip to content
Vectorlight.net

#cd4fab

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

HEX
#cd4fab
RGB
205, 79, 171
HSL
316.19°, 55.75%, 55.69%
OKLCH
0.62 0.19 339.71
Names
—
Lists

Codes

FormatValue
HEX#cd4fab
RGBrgb(205 79 171)
HSLhsl(316.19 55.75% 55.69%)
OKLCHoklch(0.62 0.19 339.71)
CMYKcmyk(0% 61.46% 16.59% 19.61%)
Android#ffcd4fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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