Skip to content
Vectorlight.net

#c0012e

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

HEX
#c0012e
RGB
192, 1, 46
HSL
345.86°, 98.96%, 37.84%
OKLCH
0.51 0.21 20.82
Names
—
Lists

Codes

FormatValue
HEX#c0012e
RGBrgb(192 1 46)
HSLhsl(345.86 98.96% 37.84%)
OKLCHoklch(0.51 0.21 20.82)
CMYKcmyk(0% 99.48% 76.04% 24.71%)
Android#ffc0012e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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