Skip to content
Vectorlight.net

#c42226

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

HEX
#c42226
RGB
196, 34, 38
HSL
358.52°, 70.43%, 45.1%
OKLCH
0.53 0.2 26.23
Names
—
Lists

Codes

FormatValue
HEX#c42226
RGBrgb(196 34 38)
HSLhsl(358.52 70.43% 45.1%)
OKLCHoklch(0.53 0.2 26.23)
CMYKcmyk(0% 82.65% 80.61% 23.14%)
Android#ffc42226

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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