Skip to content
Vectorlight.net

#ca1c1f

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

HEX
#ca1c1f
RGB
202, 28, 31
HSL
358.97°, 75.65%, 45.1%
OKLCH
0.54 0.21 27.2
Names
—
Lists

Codes

FormatValue
HEX#ca1c1f
RGBrgb(202 28 31)
HSLhsl(358.97 75.65% 45.1%)
OKLCHoklch(0.54 0.21 27.2)
CMYKcmyk(0% 86.14% 84.65% 20.78%)
Android#ffca1c1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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