Skip to content
Vectorlight.net

#cd126a

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

HEX
#cd126a
RGB
205, 18, 106
HSL
331.76°, 83.86%, 43.73%
OKLCH
0.55 0.22 1.41
Names
—
Lists

Codes

FormatValue
HEX#cd126a
RGBrgb(205 18 106)
HSLhsl(331.76 83.86% 43.73%)
OKLCHoklch(0.55 0.22 1.41)
CMYKcmyk(0% 91.22% 48.29% 19.61%)
Android#ffcd126a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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