Skip to content
Vectorlight.net

#c31a4e

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

HEX
#c31a4e
RGB
195, 26, 78
HSL
341.54°, 76.47%, 43.33%
OKLCH
0.53 0.2 11.35
Names
—
Lists

Codes

FormatValue
HEX#c31a4e
RGBrgb(195 26 78)
HSLhsl(341.54 76.47% 43.33%)
OKLCHoklch(0.53 0.2 11.35)
CMYKcmyk(0% 86.67% 60% 23.53%)
Android#ffc31a4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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