Skip to content
Vectorlight.net

#cd2851

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

HEX
#cd2851
RGB
205, 40, 81
HSL
345.09°, 67.35%, 48.04%
OKLCH
0.56 0.2 13.26
Names
—
Lists

Codes

FormatValue
HEX#cd2851
RGBrgb(205 40 81)
HSLhsl(345.09 67.35% 48.04%)
OKLCHoklch(0.56 0.2 13.26)
CMYKcmyk(0% 80.49% 60.49% 19.61%)
Android#ffcd2851

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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