Skip to content
Vectorlight.net

#c126aa

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

HEX
#c126aa
RGB
193, 38, 170
HSL
308.9°, 67.1%, 45.29%
OKLCH
0.57 0.23 335.31
Names
—
Lists

Codes

FormatValue
HEX#c126aa
RGBrgb(193 38 170)
HSLhsl(308.9 67.1% 45.29%)
OKLCHoklch(0.57 0.23 335.31)
CMYKcmyk(0% 80.31% 11.92% 24.31%)
Android#ffc126aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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