Skip to content
Vectorlight.net

#ca271a

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

HEX
#ca271a
RGB
202, 39, 26
HSL
4.43°, 77.19%, 44.71%
OKLCH
0.54 0.2 29.68
Names
—
Lists

Codes

FormatValue
HEX#ca271a
RGBrgb(202 39 26)
HSLhsl(4.43 77.19% 44.71%)
OKLCHoklch(0.54 0.2 29.68)
CMYKcmyk(0% 80.69% 87.13% 20.78%)
Android#ffca271a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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