Skip to content
Vectorlight.net

#ca022a

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

HEX
#ca022a
RGB
202, 2, 42
HSL
348°, 98.04%, 40%
OKLCH
0.53 0.21 22.76
Names
—
Lists

Codes

FormatValue
HEX#ca022a
RGBrgb(202 2 42)
HSLhsl(348 98.04% 40%)
OKLCHoklch(0.53 0.21 22.76)
CMYKcmyk(0% 99.01% 79.21% 20.78%)
Android#ffca022a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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