Skip to content
Vectorlight.net

#cd1baf

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

HEX
#cd1baf
RGB
205, 27, 175
HSL
310.11°, 76.72%, 45.49%
OKLCH
0.59 0.24 336.95
Names
—
Lists

Codes

FormatValue
HEX#cd1baf
RGBrgb(205 27 175)
HSLhsl(310.11 76.72% 45.49%)
OKLCHoklch(0.59 0.24 336.95)
CMYKcmyk(0% 86.83% 14.63% 19.61%)
Android#ffcd1baf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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