Skip to content
Vectorlight.net

#ca021c

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

HEX
#ca021c
RGB
202, 2, 28
HSL
352.2°, 98.04%, 40%
OKLCH
0.53 0.21 25.9
Names
—
Lists

Codes

FormatValue
HEX#ca021c
RGBrgb(202 2 28)
HSLhsl(352.2 98.04% 40%)
OKLCHoklch(0.53 0.21 25.9)
CMYKcmyk(0% 99.01% 86.14% 20.78%)
Android#ffca021c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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