Skip to content
Vectorlight.net

#ca312b

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

HEX
#ca312b
RGB
202, 49, 43
HSL
2.26°, 64.9%, 48.04%
OKLCH
0.55 0.19 27.71
Names
—
Lists

Codes

FormatValue
HEX#ca312b
RGBrgb(202 49 43)
HSLhsl(2.26 64.9% 48.04%)
OKLCHoklch(0.55 0.19 27.71)
CMYKcmyk(0% 75.74% 78.71% 20.78%)
Android#ffca312b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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