Skip to content
Vectorlight.net

#cd2bac

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

HEX
#cd2bac
RGB
205, 43, 172
HSL
312.22°, 65.32%, 48.63%
OKLCH
0.59 0.23 338.12
Names
—
Lists

Codes

FormatValue
HEX#cd2bac
RGBrgb(205 43 172)
HSLhsl(312.22 65.32% 48.63%)
OKLCHoklch(0.59 0.23 338.12)
CMYKcmyk(0% 79.02% 16.1% 19.61%)
Android#ffcd2bac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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