Skip to content
Vectorlight.net

#c7042e

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

HEX
#c7042e
RGB
199, 4, 46
HSL
347.08°, 96.06%, 39.8%
OKLCH
0.53 0.21 21.56
Names
—
Lists

Codes

FormatValue
HEX#c7042e
RGBrgb(199 4 46)
HSLhsl(347.08 96.06% 39.8%)
OKLCHoklch(0.53 0.21 21.56)
CMYKcmyk(0% 97.99% 76.88% 21.96%)
Android#ffc7042e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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