Skip to content
Vectorlight.net

#c40912

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

HEX
#c40912
RGB
196, 9, 18
HSL
357.11°, 91.22%, 40.2%
OKLCH
0.52 0.21 27.78
Names
—
Lists

Codes

FormatValue
HEX#c40912
RGBrgb(196 9 18)
HSLhsl(357.11 91.22% 40.2%)
OKLCHoklch(0.52 0.21 27.78)
CMYKcmyk(0% 95.41% 90.82% 23.14%)
Android#ffc40912

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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