Skip to content
Vectorlight.net

#c31baa

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

HEX
#c31baa
RGB
195, 27, 170
HSL
308.93°, 75.68%, 43.53%
OKLCH
0.57 0.24 335.78
Names
—
Lists

Codes

FormatValue
HEX#c31baa
RGBrgb(195 27 170)
HSLhsl(308.93 75.68% 43.53%)
OKLCHoklch(0.57 0.24 335.78)
CMYKcmyk(0% 86.15% 12.82% 23.53%)
Android#ffc31baa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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