Skip to content
Vectorlight.net

#ca221c

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

HEX
#ca221c
RGB
202, 34, 28
HSL
2.07°, 75.65%, 45.1%
OKLCH
0.54 0.2 28.56
Names
—
Lists

Codes

FormatValue
HEX#ca221c
RGBrgb(202 34 28)
HSLhsl(2.07 75.65% 45.1%)
OKLCHoklch(0.54 0.2 28.56)
CMYKcmyk(0% 83.17% 86.14% 20.78%)
Android#ffca221c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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