Skip to content
Vectorlight.net

#c52227

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

HEX
#c52227
RGB
197, 34, 39
HSL
358.16°, 70.56%, 45.29%
OKLCH
0.53 0.2 26
Names
—
Lists

Codes

FormatValue
HEX#c52227
RGBrgb(197 34 39)
HSLhsl(358.16 70.56% 45.29%)
OKLCHoklch(0.53 0.2 26)
CMYKcmyk(0% 82.74% 80.2% 22.75%)
Android#ffc52227

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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