Skip to content
Vectorlight.net

#c5231d

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

HEX
#c5231d
RGB
197, 35, 29
HSL
2.14°, 74.34%, 44.31%
OKLCH
0.53 0.2 28.48
Names
—
Lists

Codes

FormatValue
HEX#c5231d
RGBrgb(197 35 29)
HSLhsl(2.14 74.34% 44.31%)
OKLCHoklch(0.53 0.2 28.48)
CMYKcmyk(0% 82.23% 85.28% 22.75%)
Android#ffc5231d

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="#c5231d"
Gradient stop
<stop stop-color="#c5231d"/>
CSS variable + fill
:root { --c: #c5231d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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