Skip to content
Vectorlight.net

#ca151b

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

HEX
#ca151b
RGB
202, 21, 27
HSL
358.01°, 81.17%, 43.73%
OKLCH
0.53 0.21 27.27
Names
—
Lists

Codes

FormatValue
HEX#ca151b
RGBrgb(202 21 27)
HSLhsl(358.01 81.17% 43.73%)
OKLCHoklch(0.53 0.21 27.27)
CMYKcmyk(0% 89.6% 86.63% 20.78%)
Android#ffca151b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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